mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: crash when logging out
This commit is contained in:
@@ -16,6 +16,7 @@ export default class User {
|
||||
|
||||
async key() {
|
||||
const user = await this.get();
|
||||
if (!user) return;
|
||||
return { key: user.key, salt: user.salt };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user