You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/server-side-rendering.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,15 +218,13 @@ import { createHook } from "overmind-react";
218
218
exportconstconfig= {
219
219
state: {},
220
220
actions: {
221
-
add
222
221
changePage({ state }, mutations) {
223
222
rehydrate(state, mutations || []);
224
-
}
225
-
}
223
+
},
224
+
},
226
225
};
227
226
228
227
exportconstuseOvermind=createHook();
229
-
230
228
```
231
229
232
230
And you are all set to get going with `overmind` and `next.js`. You can also take a look at [this example in the next.js examples directory](https://github.com/vercel/next.js/tree/canary/examples/with-overmind) if you need some help.
0 commit comments