mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix auto sync
This commit is contained in:
@@ -131,6 +131,7 @@ const SimpleList = ({
|
||||
user = await db.user.get();
|
||||
dispatch({type: Actions.USER, user: user});
|
||||
await db.sync();
|
||||
|
||||
ToastEvent.show('Sync Complete', 'success');
|
||||
} catch (e) {
|
||||
if (!user) {
|
||||
|
||||
Reference in New Issue
Block a user