Fix TypeScript build error - remove unused parameter
All checks were successful
Build and Push Docker Images / docker (push) Successful in 2m27s
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:
parent
207fb261e6
commit
7b4640f861
@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user