mirror of
https://github.com/LucasVbr/todo-list.git
synced 2026-12-05 17:30:49 +00:00
Rebuild the app using React ⚛️
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { configureStore } from '@reduxjs/toolkit'
|
||||
import todoReducer from "./features/todo/todoSlice.ts"
|
||||
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
todo: todoReducer
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
export type RootState = ReturnType<typeof store.getState>
|
||||
export type AppDispatch = typeof store.dispatch
|
||||
Reference in New Issue
Block a user