File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
packages/react-error-overlay/src Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,22 @@ function render({
1919 currentBuildError,
2020 currentRuntimeErrorRecords,
2121 dismissRuntimeErrors,
22- launchEditorEndpoint ,
22+ openInEditor ,
2323} ) {
2424 if ( currentBuildError ) {
25- return < CompileErrorContainer error = { currentBuildError } /> ;
25+ return (
26+ < CompileErrorContainer
27+ error = { currentBuildError }
28+ openInEditor = { openInEditor }
29+ />
30+ ) ;
2631 }
2732 if ( currentRuntimeErrorRecords . length > 0 ) {
2833 return (
2934 < RuntimeErrorContainer
3035 errorRecords = { currentRuntimeErrorRecords }
3136 close = { dismissRuntimeErrors }
32- launchEditorEndpoint = { launchEditorEndpoint }
37+ openInEditor = { openInEditor }
3338 />
3439 ) ;
3540 }
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ function updateIframeContent() {
153153 currentBuildError,
154154 currentRuntimeErrorRecords,
155155 dismissRuntimeErrors,
156- launchEditorEndpoint : currentRuntimeErrorOptions . launchEditorEndpoint ,
156+ openInEditor ,
157157 } ) ;
158158
159159 if ( ! isRendered ) {
You can’t perform that action at this time.
0 commit comments