File tree 2 files changed +9
-4
lines changed
packages/react-error-overlay/src
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,22 @@ function render({
19
19
currentBuildError,
20
20
currentRuntimeErrorRecords,
21
21
dismissRuntimeErrors,
22
- launchEditorEndpoint ,
22
+ openInEditor ,
23
23
} ) {
24
24
if ( currentBuildError ) {
25
- return < CompileErrorContainer error = { currentBuildError } /> ;
25
+ return (
26
+ < CompileErrorContainer
27
+ error = { currentBuildError }
28
+ openInEditor = { openInEditor }
29
+ />
30
+ ) ;
26
31
}
27
32
if ( currentRuntimeErrorRecords . length > 0 ) {
28
33
return (
29
34
< RuntimeErrorContainer
30
35
errorRecords = { currentRuntimeErrorRecords }
31
36
close = { dismissRuntimeErrors }
32
- launchEditorEndpoint = { launchEditorEndpoint }
37
+ openInEditor = { openInEditor }
33
38
/>
34
39
) ;
35
40
}
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ function updateIframeContent() {
153
153
currentBuildError,
154
154
currentRuntimeErrorRecords,
155
155
dismissRuntimeErrors,
156
- launchEditorEndpoint : currentRuntimeErrorOptions . launchEditorEndpoint ,
156
+ openInEditor ,
157
157
} ) ;
158
158
159
159
if ( ! isRendered ) {
You can’t perform that action at this time.
0 commit comments