We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a1fdd commit 6b7d133Copy full SHA for 6b7d133
packages/overmind-website/examples/guide/routing/pagejs.ts
@@ -21,7 +21,7 @@ export default onInitialize
21
{
22
fileName: 'overmind/onInitialize.ts',
23
code: `
24
-const onInitialize = ({ actions, router }) => {
+const onInitialize = ({ actions, effects }) => {
25
effects.router.route('/', actions.showHomePage)
26
effects.router.route('/users', actions.showUsersPage)
27
effects.router.route<{ id: string }>('/users/:id', actions.showUserModal)
0 commit comments