File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
packages/next/src/client/components/react-dev-overlay Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import type { StackFrame } from 'stacktrace-parser'
2
2
import { codeFrameColumns } from 'next/dist/compiled/babel/code-frame'
3
3
import isInternal from '../../../../shared/lib/is-internal'
4
4
5
- export type SourcePackage = 'react' | 'next'
6
-
7
5
export interface OriginalStackFramesRequest {
8
6
frames : StackFrame [ ]
9
7
isServer : boolean
@@ -19,8 +17,6 @@ export type OriginalStackFrameResponseResult =
19
17
export interface OriginalStackFrameResponse {
20
18
originalStackFrame ?: ( StackFrame & { ignored : boolean } ) | null
21
19
originalCodeFrame ?: string | null
22
- /** We use this to group frames in the error overlay */
23
- sourcePackage ?: SourcePackage | null
24
20
}
25
21
26
22
/**
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ function getOriginalStackFrame(
47
47
sourceStackFrame : source ,
48
48
originalStackFrame : body . originalStackFrame ,
49
49
originalCodeFrame : body . originalCodeFrame || null ,
50
- sourcePackage : body . sourcePackage ,
51
50
ignored : body . originalStackFrame ?. ignored || false ,
52
51
}
53
52
}
@@ -61,7 +60,6 @@ function getOriginalStackFrame(
61
60
sourceStackFrame : source ,
62
61
originalStackFrame : null ,
63
62
originalCodeFrame : null ,
64
- sourcePackage : null ,
65
63
ignored : true ,
66
64
} )
67
65
}
@@ -74,7 +72,6 @@ function getOriginalStackFrame(
74
72
sourceStackFrame : source ,
75
73
originalStackFrame : null ,
76
74
originalCodeFrame : null ,
77
- sourcePackage : null ,
78
75
ignored : false ,
79
76
} )
80
77
)
You can’t perform that action at this time.
0 commit comments