From 7b4640f86178d2445e53d658ec2e88f20d4dccb7 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 4 Nov 2025 15:47:52 +0100 Subject: [PATCH] Fix TypeScript build error - remove unused parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unused 'registration' parameter from onSuccess callback to fix production build type checking. Build tested locally and passes successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/RootLayoutClient.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/RootLayoutClient.tsx b/components/RootLayoutClient.tsx index 68c039c..aac2b42 100644 --- a/components/RootLayoutClient.tsx +++ b/components/RootLayoutClient.tsx @@ -20,7 +20,7 @@ export function RootLayoutClient({ children }: { children: React.ReactNode }) { console.log('New version available!'); setUpdateAvailable(registration); }, - onSuccess: (registration) => { + onSuccess: () => { console.log('Service worker registered successfully'); } });