mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
docs: correct import alias syntax (#1889)
This commit is contained in:
parent
e8597ae77f
commit
7276b531bc
@ -47,7 +47,7 @@ const useSlice = create<State & Actions>()((set, get) => ({
|
|||||||
Resetting multiple stores at once
|
Resetting multiple stores at once
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { create: _create, StateCreator } from 'zustand'
|
import { create as _create, StateCreator } from 'zustand'
|
||||||
|
|
||||||
const resetters: (() => void)[] = []
|
const resetters: (() => void)[] = []
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user