Skip to content

Commit 9de6342

Browse files
style: format code with Prettier
This commit fixes the style issues introduced in 995562a according to the output from Prettier. Details: #35
1 parent 995562a commit 9de6342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

md-docs/1.getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ In some cases you might want to initialize the state with a function, for exampl
8181

8282
```tsx
8383
const [state, setState] = useRGS<number>("counter", () =>
84-
typeof localStorage === "undefined" ? 1 : (localStorage.getItem("counter") ?? 1),
84+
typeof localStorage === "undefined" ? 1 : localStorage.getItem("counter") ?? 1,
8585
);
8686
```
8787

0 commit comments

Comments
 (0)