mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
update user
This commit is contained in:
@@ -156,8 +156,7 @@ const SimpleList = ({
|
||||
if (refreshCallback) {
|
||||
refreshCallback();
|
||||
}
|
||||
let user = await db.user.get();
|
||||
dispatch({type: Actions.USER, user: user});
|
||||
dispatch({type: Actions.LAST_SYNC,lastSync: await db.lastSynced()});
|
||||
dispatch({type: Actions.ALL});
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user