🔧 Integrating the auto-watched files from threetwo-core-service

This commit is contained in:
2022-01-26 10:11:03 -08:00
parent 8e5ff81d5f
commit 8f83a0f94f
4 changed files with 12 additions and 5 deletions

View File

@@ -1,9 +1,7 @@
import { LOCATION_CHANGE } from "connected-react-router";
import {
RMQ_SOCKET_CONNECTED,
RMQ_SOCKET_DISCONNECTED,
IMS_COMICBOOK_METADATA_FETCHED,
RMQ_SOCKET_ERROR,
IMS_RAW_IMPORT_SUCCESSFUL,
IMS_RAW_IMPORT_FAILED,
IMS_RECENT_COMICS_FETCHED,
@@ -18,6 +16,7 @@ import {
IMS_COMIC_BOOK_ARCHIVE_EXTRACTION_SUCCESS,
LS_IMPORT,
LS_COVER_EXTRACTED,
LS_COMIC_ADDED,
} from "../constants/action-types";
const initialState = {
IMSCallInProgress: false,
@@ -130,6 +129,12 @@ function fileOpsReducer(state = initialState, action) {
...state,
};
}
case LS_COMIC_ADDED: {
console.log("ADDED na anna", action);
return {
...state,
};
}
default:
return state;
}