Added redux storee to project

This commit is contained in:
2021-10-17 16:40:38 +03:00
parent 80e78f272c
commit 5396870d2f
3 changed files with 19 additions and 1 deletions

10
src/store/index.ts Normal file
View File

@@ -0,0 +1,10 @@
import { configureStore } from "@reduxjs/toolkit";
const store = configureStore({
reducer: {},
});
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
export default store;