We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99d4cab commit feb90bcCopy full SHA for feb90bc
index.tsx
@@ -50,7 +50,7 @@ export class StaticRouters {
50
preloadScript?: string;
51
bootstrapModules?: string[];
52
context?: T;
53
- onError(error: unknown, errorInfo: React.ErrorInfo): string | void;
+ onError?(error: unknown, errorInfo: React.ErrorInfo): string | void;
54
}
55
): Promise<Response | null> {
56
const { pathname, search } = new URL(request.url);
0 commit comments