Skip to content

Commit a4f93c2

Browse files
authored
Update server-side-rendering.md
1 parent 6dbd5f6 commit a4f93c2

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,10 +218,8 @@ import { createHook } from "overmind-react";
218218
export const config = {
219219
state: {},
220220
actions: {
221-
add: {
222-
changePage({ state }, mutations) {
223-
rehydrate(state, mutations || []);
224-
},
221+
changePage({ state }, mutations) {
222+
rehydrate(state, mutations || []);
225223
},
226224
},
227225
};

0 commit comments

Comments
 (0)