This commit is contained in:
2026-01-24 14:57:08 +02:00
parent e537f77bbc
commit cb23f37342
7 changed files with 10 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ function ErrorFallback({ error, resetErrorBoundary, onError }: FallbackProps & {
useEffect(() => {
if (onError) {
onError(error);
onError(error as Error);
resetErrorBoundary();
return;
}