Update imports (#1674)

This commit is contained in:
Kevin Jiang 2023-03-04 05:44:36 -05:00 committed by GitHub
parent 5b8abb2f70
commit 0ee21f8dbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -484,7 +484,7 @@ If the storage you want to use does not match the expected API, you can create y
```ts
import { create } from 'zustand'
import { persist, StateStorage } from 'zustand/middleware'
import { persist, createJSONStorage, StateStorage } from 'zustand/middleware'
import { get, set, del } from 'idb-keyval' // can use anything: IndexedDB, Ionic Storage, etc.
// Custom storage object