[desktop] Fix logout (#1778)

This commit is contained in:
Manav Rathi 2024-05-20 17:31:11 +05:30 committed by GitHub
commit 6676c67cc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@ const selectDirectory = () => ipcRenderer.invoke("selectDirectory");
const logout = () => {
watchRemoveListeners();
ipcRenderer.send("logout");
return ipcRenderer.invoke("logout");
};
const encryptionKey = () => ipcRenderer.invoke("encryptionKey");