mirror of
https://github.com/r2r90/canvas-label.git
synced 2026-01-31 21:22:23 +00:00
work in progress
This commit is contained in:
11
src/store/store.ts
Normal file
11
src/store/store.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { configureStore } from "@reduxjs/toolkit";
|
||||
import { appSlice } from "./app.slice";
|
||||
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
[appSlice.name]: appSlice.reducer,
|
||||
},
|
||||
});
|
||||
|
||||
export type AppDispatch = typeof store.dispatch;
|
||||
export type RootState = ReturnType<typeof store.getState>;
|
||||
Reference in New Issue
Block a user