diff --git a/src/store.ts b/src/store.ts index c6fbf93dd1..19bf53b063 100644 --- a/src/store.ts +++ b/src/store.ts @@ -1,5 +1,4 @@ import { configureStore } from "@reduxjs/toolkit"; -import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore"; import { persistStore, persistReducer } from "redux-persist"; import storage from "redux-persist/lib/storage"; @@ -19,9 +18,8 @@ const immutableCheckConfig = ? { warnAfter: 1000 } : false; -export const setupStore = ( - preloadedState?: PreloadedState -): ToolkitStore => { +// eslint-disable-next-line @typescript-eslint/explicit-function-return-type +export const setupStore = (preloadedState?: PreloadedState) => { return configureStore({ reducer: persistedReducer, // for each of the default middleware items set to: