fix lastSynced value not updated

This commit is contained in:
ammarahm-ed
2020-10-29 16:40:02 +05:00
parent 0632f6fc55
commit 10b4780bba

View File

@@ -115,7 +115,7 @@ export const UserSection = ({noTextMode}) => {
}}> }}>
{syncing ? 'Syncing ' : 'Synced '} {syncing ? 'Syncing ' : 'Synced '}
{!syncing ? ( {!syncing ? (
user?.notesnook?.lastSynced ? ( user?.lastSynced ? (
<TimeSince time={user.lastSynced} /> <TimeSince time={user.lastSynced} />
) : ( ) : (
'never' 'never'