Skip to content

Commit

Permalink
style: format code with Prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 995562a according to the output
from Prettier.

Details: #35
  • Loading branch information
deepsource-autofix[bot] authored Dec 17, 2024
1 parent 995562a commit 9de6342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion md-docs/1.getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ In some cases you might want to initialize the state with a function, for exampl

```tsx
const [state, setState] = useRGS<number>("counter", () =>
typeof localStorage === "undefined" ? 1 : (localStorage.getItem("counter") ?? 1),
typeof localStorage === "undefined" ? 1 : localStorage.getItem("counter") ?? 1,
);
```

Expand Down

0 comments on commit 9de6342

Please sign in to comment.