diff --git a/web/app/components/provider/serwist.tsx b/web/app/components/provider/serwist.tsx index 4f43c751c1..5cd7d63580 100644 --- a/web/app/components/provider/serwist.tsx +++ b/web/app/components/provider/serwist.tsx @@ -11,6 +11,10 @@ export function PWAProvider({ children }: { children: React.ReactNode }) { registrations.forEach((registration) => { registration.unregister() }) + }).catch((error) => { + // Silently fail if service worker unregistration fails + // This is a development-only optimization and shouldn't block the app + console.warn('Failed to unregister service workers:', error) }) } }, [])