🚨 Implemented a notification system for background import
This commit is contained in:
@@ -33,6 +33,7 @@ function fileOpsReducer(state = initialState, action) {
|
||||
return {
|
||||
...state,
|
||||
isSocketConnected: action.isSocketConnected,
|
||||
socketId: action.socketId,
|
||||
};
|
||||
case IMS_RAW_IMPORT_SUCCESSFUL:
|
||||
return {
|
||||
|
||||
@@ -3,9 +3,11 @@ import { connectRouter } from "connected-react-router";
|
||||
import comicinfoReducer from "../reducers/comicinfo.reducer";
|
||||
import fileOpsReducer from "../reducers/fileops.reducer";
|
||||
import airdcppReducer from "../reducers/airdcpp.reducer";
|
||||
import { reducer as notifications } from "react-notification-system-redux";
|
||||
|
||||
export default (history) =>
|
||||
combineReducers({
|
||||
notifications,
|
||||
comicInfo: comicinfoReducer,
|
||||
fileOps: fileOpsReducer,
|
||||
airdcpp: airdcppReducer,
|
||||
|
||||
Reference in New Issue
Block a user