diff --git a/src/app/pages/client/ClientNonUIFeatures.tsx b/src/app/pages/client/ClientNonUIFeatures.tsx index f8522209..7fc1a9f6 100644 --- a/src/app/pages/client/ClientNonUIFeatures.tsx +++ b/src/app/pages/client/ClientNonUIFeatures.tsx @@ -453,9 +453,7 @@ function MessageNotifications() { function BackgroundSyncSetup() { const mx = useMatrixClient(); // Try to make a simple fetch to verify component is rendering - try { - fetch('/_matrix/client/v3/sync', { method: 'HEAD' }).catch(() => {}); - } catch {} + fetch('/_matrix/client/v3/sync', { method: 'HEAD' }).catch(() => {}); useEffect(() => { console.log('BackgroundSyncSetup: Starting background sync for', mx.getUserId());