+ {isConfigured ? (
+ <>
+
+
{_('Connected to Readwise')}
+
+ {_('Last synced: {{time}}', { time: lastSyncedLabel })}
+
+
+
+ {_('Sync Enabled')}
+
+
+
+ >
+ ) : (
+ <>
+
+ {_('Connect your Readwise account to sync highlights.')}
+
+
+ {_('Get your access token at')}{' '}
+
+ readwise.io/access_token
+
+
+
+
+ setAccessToken(e.target.value)}
+ />
+
+
+ >
+ )}
+
+ )}
+