Skip to content

Commit

Permalink
FIx oneLineObject
Browse files Browse the repository at this point in the history
Co-authored-by: Mokhtar <[email protected]>
  • Loading branch information
jkuester and m5r authored Nov 28, 2023
1 parent a64925e commit f09fc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/contribute/code/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ As [noted above]({{< ref "#use-arrow-functions" >}}), implicit returns should be

```js
const oneLineString = () => 'World';
const oneLineObject = () => { hello: 'World' };
const oneLineObject = () => ({ hello: 'World' });

// Not using implicit return for multi-line value
const multiLineObject = () => {
Expand Down

0 comments on commit f09fc63

Please sign in to comment.