Created
March 6, 2022 12:07
-
-
Save full-stack-concepts/64de2bf2572f38d033e2f6d79b676e21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { combineReducers } from "redux"; | |
import { configureStore } from "@reduxjs/toolkit"; | |
import UserSlice from './UserSlice'; | |
const rootReducer = combineReducers({ | |
user: UserSlice | |
}); | |
export const store = configureStore({ | |
reducer: rootReducer, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment