Replaced electron-settings with store. Implemented job upsert logic.

This commit is contained in:
Patrick Fic
2020-10-15 15:18:38 -07:00
parent 67cae24b6c
commit e467f74362
18 changed files with 385 additions and 131 deletions

View File

@@ -81,6 +81,7 @@ export function* onSignOutStart() {
}
export function* signOutStart() {
try {
ipcRenderer.send(ipcTypes.default.fileWatcher.toMain.stop);
yield auth.signOut();
yield put(signOutSuccess());
localStorage.removeItem("token");