import { configureStore } from '@reduxjs/toolkit' import todoReducer from "./features/todo/todoSlice.ts" export const store = configureStore({ reducer: { todo: todoReducer }, }) export type RootState = ReturnType export type AppDispatch = typeof store.dispatch