Added preloader, initial estimate decoder.

This commit is contained in:
Patrick Fic
2020-10-14 10:17:33 -07:00
parent c6f424cf5f
commit 953ea832e2
12 changed files with 306 additions and 23 deletions

View File

@@ -1,12 +1,12 @@
import ipcTypes from "../ipc.types";
import { store } from "../redux/store";
import { signOutStart } from "../redux/user/user.actions";
const { ipcRenderer } = window.require("electron");
// import { store } from "../redux/store";
// import { signOutStart } from "../redux/user/user.actions";
const { ipcRenderer } = window;
console.log("----Initializing IPC Listeners in React App.");
ipcRenderer.on(ipcTypes.default.filewatcher.startSuccess, (event, obj) => {
console.log(ipcTypes.default.filewatcher.startSuccess, obj);
ipcRenderer.on(ipcTypes.default.filewatcher.startSuccess, (event, ...obj) => {
console.log(ipcTypes.default.filewatcher.startSuccess, event, obj);
store.dispatch(signOutStart());
// store.dispatch(signOutStart());
});