Skip to content

Commit

Permalink
docs: update persisting-store-data.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aykutkardas authored Aug 14, 2023
1 parent 49d43b7 commit 1250fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/integrations/persisting-store-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ except for writing `create<State>()(...)` instead of `create(...)`.

```tsx
import { create } from 'zustand'
import { persist } from 'zustand/middleware'
import { persist, createJSONStorage } from 'zustand/middleware'

interface MyState {
bears: number
Expand Down

0 comments on commit 1250fb7

Please sign in to comment.