Skip to content

Commit f3430c8

Browse files
Merge pull request cerebral#40 from SaraVieira/patch-1
Fix docs in next section
2 parents ed23274 + a4f93c2 commit f3430c8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/server-side-rendering.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,13 @@ import { createHook } from "overmind-react";
218218
export const config = {
219219
state: {},
220220
actions: {
221-
add
222221
changePage({ state }, mutations) {
223222
rehydrate(state, mutations || []);
224-
}
225-
}
223+
},
224+
},
226225
};
227226

228227
export const useOvermind = createHook();
229-
230228
```
231229

232230
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

Comments
 (0)