diff --git a/src/main/ipc/ipcMainHandler.user.ts b/src/main/ipc/ipcMainHandler.user.ts index d06fcf3..a593283 100644 --- a/src/main/ipc/ipcMainHandler.user.ts +++ b/src/main/ipc/ipcMainHandler.user.ts @@ -1,14 +1,12 @@ import { IpcMainEvent } from "electron"; -import Store from "../store/store"; import { User } from "firebase/auth"; -import log from "electron-log/main"; +import Store from "../store/store"; const ipcMainHandleAuthStateChanged = async ( event: IpcMainEvent, user: User | null ) => { Store.set("user", user); - log.log(Store.get("user")); }; export { ipcMainHandleAuthStateChanged }; diff --git a/src/main/store/store.ts b/src/main/store/store.ts index 2c95469..9f9dec9 100644 --- a/src/main/store/store.ts +++ b/src/main/store/store.ts @@ -1,5 +1,6 @@ -import Store from "electron-store"; +// @ts-nocheck +const Store = require("electron-store").default; const store = new Store({ defaults: { filePaths: [],