Skip to content

Commit 60a91b4

Browse files
docs(devtools): add missing devtools import to troubleshooting example (#3501)
1 parent efad169 commit 60a91b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/reference/middlewares/devtools.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ Here's the fixed previous example
302302

303303
```ts
304304
import { create, StateCreator } from 'zustand'
305+
import { devtools } from 'zustand/middleware'
305306

306307
type BearSlice = {
307308
bears: number

0 commit comments

Comments
 (0)