diff --git a/examples/with-redux/lib/redux/store.ts b/examples/with-redux/lib/redux/store.ts index 9d09baadceac5..8083355d894fb 100644 --- a/examples/with-redux/lib/redux/store.ts +++ b/examples/with-redux/lib/redux/store.ts @@ -1,10 +1,5 @@ /* Core */ -import { - configureStore, - type ConfigureStoreOptions, - type ThunkAction, - type Action, -} from '@reduxjs/toolkit' +import { configureStore, type ThunkAction, type Action } from '@reduxjs/toolkit' import { useSelector as useReduxSelector, useDispatch as useReduxDispatch, @@ -15,16 +10,6 @@ import { import { reducer } from './rootReducer' import { middleware } from './middleware' -const configureStoreDefaultOptions: ConfigureStoreOptions = { reducer } - -export const makeReduxStore = ( - options: ConfigureStoreOptions = configureStoreDefaultOptions -) => { - const store = configureStore(options) - - return store -} - export const reduxStore = configureStore({ reducer, middleware: (getDefaultMiddleware) => {