rename method

This commit is contained in:
Zamitto 2024-06-16 22:19:36 -03:00
parent 63e74648c4
commit 16f862d389
4 changed files with 6 additions and 6 deletions

View file

@ -133,7 +133,7 @@ contextBridge.exposeInMainWorld("electron", {
getUser: (userId: string) => ipcRenderer.invoke("getUser", userId),
/* Auth */
signout: () => ipcRenderer.invoke("signout"),
signOut: () => ipcRenderer.invoke("signOut"),
onSignIn: (cb: () => void) => {
const listener = (_event: Electron.IpcRendererEvent) => cb();
ipcRenderer.on("on-signin", listener);