Refactor to store
This commit is contained in:
parent
e3a2251898
commit
b619fe34f8
9 changed files with 177 additions and 70 deletions
8
store/store.tsx
Normal file
8
store/store.tsx
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { configureStore } from '@reduxjs/toolkit';
|
||||
import dataReducer from './dataStore';
|
||||
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
data: dataReducer,
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue