[desktop] Fix logout

This commit is contained in:
Manav Rathi 2024-05-20 17:21:10 +05:30
parent 41b22abc66
commit dae9bdd583
No known key found for this signature in database

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");