Skip to content

Commit

Permalink
docs: remove redundant parentheses (#2694)
Browse files Browse the repository at this point in the history
  • Loading branch information
tam315 authored Aug 6, 2024
1 parent c76b224 commit 9228a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/utilities/storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ import {
import { z } from 'zod'

const myNumberSchema = z.number().int().nonnegative()
const isMyNumber = (v) => myNumberSchema.safeParse(v).success);
const isMyNumber = (v) => myNumberSchema.safeParse(v).success

const storedNumberAtom = atomWithStorage(
'my-number',
Expand Down

0 comments on commit 9228a88

Please sign in to comment.