Init
This commit is contained in:
15
src/redux/store.ts
Normal file
15
src/redux/store.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { configureStore } from "@reduxjs/toolkit";
|
||||
//import { userReducer } from "./slices/user";
|
||||
|
||||
//import { useDispatch } from "react-redux";
|
||||
//const dispatch = useDispatch();
|
||||
//dispatch(loginUser({ login: "123", password: "pas" }));
|
||||
// useSelector((state: any) => state.user.isAuthorized.status);
|
||||
|
||||
const store = configureStore({
|
||||
reducer: {
|
||||
//user: userReducer,
|
||||
},
|
||||
});
|
||||
|
||||
export default store;
|
||||
Reference in New Issue
Block a user