mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
rename method
This commit is contained in:
parent
63e74648c4
commit
16f862d389
4 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue