diff --git a/web/app/components/provider/serwist.tsx b/web/app/components/provider/serwist.tsx
deleted file mode 100644
index 0cab1bce5d..0000000000
--- a/web/app/components/provider/serwist.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-'use client'
-
-import { SerwistProvider } from '@serwist/turbopack/react'
-import { useEffect } from 'react'
-import { IS_DEV } from '@/config'
-import { env } from '@/env'
-import { isClient } from '@/utils/client'
-
-export function PWAProvider({ children }: { children: React.ReactNode }) {
- if (IS_DEV) {
- return {children}
- }
-
- const basePath = env.NEXT_PUBLIC_BASE_PATH
- const swUrl = `${basePath}/serwist/sw.js`
-
- return (
-
- {children}
-
- )
-}
-
-function DisabledPWAProvider({ children }: { children: React.ReactNode }) {
- useEffect(() => {
- if (isClient && 'serviceWorker' in navigator) {
- navigator.serviceWorker.getRegistrations()
- .then((registrations) => {
- registrations.forEach((registration) => {
- registration.unregister()
- .catch((error) => {
- console.error('Error unregistering service worker:', error)
- })
- })
- })
- .catch((error) => {
- console.error('Error unregistering service workers:', error)
- })
- }
- }, [])
-
- return <>{children}>
-}
diff --git a/web/app/layout.tsx b/web/app/layout.tsx
index 318cad3a6c..2aaa4dc5ce 100644
--- a/web/app/layout.tsx
+++ b/web/app/layout.tsx
@@ -13,7 +13,6 @@ import { TooltipProvider } from './components/base/ui/tooltip'
import BrowserInitializer from './components/browser-initializer'
import { ReactScanLoader } from './components/devtools/react-scan/loader'
import { I18nServerProvider } from './components/provider/i18n-server'
-import { PWAProvider } from './components/provider/serwist'
import SentryInitializer from './components/sentry-initializer'
import RoutePrefixHandle from './routePrefixHandle'
import './styles/globals.css'
@@ -64,36 +63,34 @@ const LocaleLayout = async ({
{...datasetMap}
>
-
-
-
-
-
-
-
-
-
-
-
- {children}
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {children}
+
+
+
+
+
+
+
+
+
+
+