From 696dee6a6a9506fcf771d0ec4911dcc82a279fda Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Fri, 6 Jun 2025 16:32:17 +0700 Subject: Lots of reducer work to organize active Question in redux state (rather than useState). Various UX/CSS checks for Pagination state. --- src/models/appSlice.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/models/appSlice.ts') 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) { - 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 -- cgit v1.2.3