Fix TypeScript build error - remove unused parameter
All checks were successful
Build and Push Docker Images / docker (push) Successful in 2m27s

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 <noreply@anthropic.com>
This commit is contained in:
Matt 2025-11-04 15:47:52 +01:00
parent 207fb261e6
commit 7b4640f861

View File

@ -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');
}
});