Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit cbabbed

Browse files
committed
fix: move commit('setIsServerInitCalled')
1 parent fdd6d0d commit cbabbed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ export const actions = {
5353
{ res, error }
5454
): Promise<void> {
5555
await console.log('nuxtServerInit')
56+
commit('setIsServerInitCalled')
5657
},
5758
/** クライアント初期化時の処理 */
5859
// @ts-ignore
5960
nuxtClientInit({ commit }: ActionContext<any, any>, { app }): void {
6061
console.log('nuxtClientInit')
61-
commit('setIsServerInitCalled')
6262
commit('setIsClientInitCalled')
6363
}
6464
}

0 commit comments

Comments
 (0)