Add translations and testing framework.

This commit is contained in:
Patrick Fic
2025-03-12 14:53:02 -07:00
parent e0cec62e13
commit 776d152d88
23 changed files with 1334 additions and 33 deletions

View File

@@ -0,0 +1,14 @@
import { IpcMainEvent } from "electron";
import Store from "../store/store";
import { User } from "firebase/auth";
import log from "electron-log/main";
const ipcMainHandleAuthStateChanged = async (
event: IpcMainEvent,
user: User | null
) => {
Store.set("user", user);
log.log(Store.get("user"));
};
export { ipcMainHandleAuthStateChanged };