Feat:Added the upload reducer in the store for re-renders
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
// src/redux/store.js
|
// src/redux/store.js
|
||||||
import { configureStore } from "@reduxjs/toolkit";
|
import { configureStore } from "@reduxjs/toolkit";
|
||||||
import pathReducer from "./pathSlice";
|
import pathReducer from "./pathSlice";
|
||||||
|
import setIsUploadingReducer from "./UploadStatusSlice";
|
||||||
|
|
||||||
export const store = configureStore({
|
export const store = configureStore({
|
||||||
reducer: {
|
reducer: {
|
||||||
path: pathReducer,
|
path: pathReducer,
|
||||||
|
upload: setIsUploadingReducer,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user