aboutsummaryrefslogtreecommitdiff
path: root/src/models/appSlice.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/appSlice.ts')
-rw-r--r--src/models/appSlice.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/models/appSlice.ts b/src/models/appSlice.ts
index d7e4a0b..3adf316 100644
--- a/src/models/appSlice.ts
+++ b/src/models/appSlice.ts
@@ -13,11 +13,13 @@ const appSlice = createSlice({
return action.payload;
},
setPage(state, action: PayloadAction<Page>) {
- console.log("setPage.state", state.currentPage, action.payload)
state.currentPage = action.payload;
}
}
})
-export const {setApp, setPage} = appSlice.actions;
+export const {
+ setApp,
+ setPage
+} = appSlice.actions;
export default appSlice.reducer \ No newline at end of file