fix auto sync

This commit is contained in:
ammarahm-ed
2020-12-10 15:26:02 +05:00
parent ab5a155901
commit 3bd2a52157
11 changed files with 52 additions and 229239 deletions

View File

@@ -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) {