From b6141a135c5696ba1914bc50f1484d39045821b2 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Fri, 23 Jan 2026 11:16:10 +0800 Subject: [PATCH] Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- web/app/components/provider/serwist.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/components/provider/serwist.tsx b/web/app/components/provider/serwist.tsx index 9ef3481f34..696012e3ee 100644 --- a/web/app/components/provider/serwist.tsx +++ b/web/app/components/provider/serwist.tsx @@ -4,13 +4,13 @@ import { SerwistProvider } from '@serwist/turbopack/react' import { IS_DEV } from '@/config' export function PWAProvider({ children }: { children: React.ReactNode }) { - const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '' - const swUrl = `${basePath}/serwist/sw.js` - if (IS_DEV) { return <>{children} } + const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '' + const swUrl = `${basePath}/serwist/sw.js` + return ( {children}