fix: don't store codeframe on error object (#1898)
This commit is contained in:
@@ -418,6 +418,9 @@ export interface ErrorPageProps {
|
||||
|
||||
/** The error that caused the error page to be loaded. */
|
||||
error: unknown;
|
||||
|
||||
/** Sringified code frame (only in development mode) */
|
||||
codeFrame?: string;
|
||||
}
|
||||
|
||||
export interface ErrorHandlerContext<State = Record<string, unknown>>
|
||||
|
||||
Reference in New Issue
Block a user