store.ts 264 Bytes
Newer Older
Ken's avatar
Ken committed
1 2 3 4 5 6 7 8 9
import { configureStore } from "@reduxjs/toolkit";

const rootReducer = {};

const store = configureStore({ reducer: rootReducer });

export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
export default store;