diff --git a/frontend/src/app/components/containers/complaints/complaint-list.tsx b/frontend/src/app/components/containers/complaints/complaint-list.tsx index a3e543033..9b1e78170 100644 --- a/frontend/src/app/components/containers/complaints/complaint-list.tsx +++ b/frontend/src/app/components/containers/complaints/complaint-list.tsx @@ -216,10 +216,12 @@ export const ComplaintList: FC = ({ type, searchQuery }) => { const renderNoComplaintsFound = () => { return ( - - - No complaints found using your current filters. Remove or change your filters to see complaints. - + + + + No complaints found using your current filters. Remove or change your filters to see complaints. + + ); }; diff --git a/frontend/src/app/store/store.ts b/frontend/src/app/store/store.ts index da398dbc0..caaa479f0 100644 --- a/frontend/src/app/store/store.ts +++ b/frontend/src/app/store/store.ts @@ -1,5 +1,15 @@ import { configureStore, ThunkAction, Action } from "@reduxjs/toolkit"; -import { createMigrate, persistReducer, persistStore } from "redux-persist"; +import { + createMigrate, + persistReducer, + persistStore, + FLUSH, + REHYDRATE, + PAUSE, + PERSIST, + PURGE, + REGISTER, +} from "redux-persist"; import storage from "redux-persist/lib/storage"; import { rootReducer } from "./reducers"; import migration from "./migrations"; @@ -9,7 +19,7 @@ const persistConfig = { storage, blacklist: ["app"], whitelist: ["codeTables", "officers"], - version: 22, // This needs to be incremented every time a new migration is added + version: 23, // This needs to be incremented every time a new migration is added debug: true, migrate: createMigrate(migration, { debug: false }), }; @@ -18,6 +28,12 @@ const persistedReducer = persistReducer(persistConfig, rootReducer); export const store = configureStore({ reducer: persistedReducer, + middleware: (getDefaultMiddleware) => + getDefaultMiddleware({ + serializableCheck: { + ignoredActions: [FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER], + }, + }), }); export type AppDispatch = typeof store.dispatch;