diff options
| author | Max Nanis | 2025-06-06 16:32:17 +0700 |
|---|---|---|
| committer | Max Nanis | 2025-06-06 16:32:17 +0700 |
| commit | 696dee6a6a9506fcf771d0ec4911dcc82a279fda (patch) | |
| tree | 3e8d0bde7cded0f3e1fba82e3af1f2253c06bcbf /src/models/appSlice.ts | |
| parent | 2f675eecec576b1ab17260e2513e1eec187a81d2 (diff) | |
| download | panel-ui-696dee6a6a9506fcf771d0ec4911dcc82a279fda.tar.gz panel-ui-696dee6a6a9506fcf771d0ec4911dcc82a279fda.zip | |
Lots of reducer work to organize active Question in redux state (rather than useState). Various UX/CSS checks for Pagination state.
Diffstat (limited to 'src/models/appSlice.ts')
| -rw-r--r-- | src/models/appSlice.ts | 6 |
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 |
