fix(ui): reset page when search term changes

This commit is contained in:
psychedelicious 2024-07-03 07:17:29 +10:00
parent e9936c27fb
commit 5578660ccb

View File

@ -122,6 +122,7 @@ export const gallerySlice = createSlice({
},
searchTermChanged: (state, action: PayloadAction<string>) => {
state.searchTerm = action.payload;
state.offset = 0;
},
},
});