Skip to content

Commit 645df22

Browse files
authored
Update example
1 parent 0a60632 commit 645df22

File tree

1 file changed

+2
-2
lines changed
  • packages/overmind-website/examples/guide/usingovermindwithreact

1 file changed

+2
-2
lines changed

packages/overmind-website/examples/guide/usingovermindwithreact/hook.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ export default App
6262
code: `
6363
import { createHook } from 'overmind-react'
6464
65-
export const overmind = createOvermind({
65+
export const config = {
6666
state: {},
6767
actions: {}
68-
})
68+
}
6969
7070
export const useOvermind = createHook()
7171
`,

0 commit comments

Comments
 (0)