Skip to content

Commit 1785ec5

Browse files
Update example (cerebral#335)
Update example
2 parents 49a15dc + 645df22 commit 1785ec5

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)