mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 08:43:57 +00:00
rename method
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user