Skip to content

Commit b1bfc1e

Browse files
authored
docs(guides): fix typo
1 parent 019b985 commit b1bfc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/composing-atoms.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ to override the read-only atom value.
4848

4949
```js
5050
const rawNumberAtom = atom(10.1) // can be exported
51-
count roundNumberAtom = atom((get) => Math.round(get(rawNumberAtom)))
51+
const roundNumberAtom = atom((get) => Math.round(get(rawNumberAtom)))
5252
const overwrittenAtom = atom(null)
5353
export const numberAtom = atom(
5454
(get) => get(overwrittenAtom) ?? get(roundNumberAtom),

0 commit comments

Comments
 (0)