File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-devtools-shared/src/backend Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3607,7 +3607,7 @@ export function attach(
3607
3607
mostRecentlyInspectedElement = inspectElementRaw ( id ) ;
3608
3608
} catch (error) {
3609
3609
// the error name is synced with ReactDebugHooks
3610
- if ( error . name === 'RenderFunctionError ' ) {
3610
+ if ( error . name === 'ReactDebugToolsRenderFunctionError ' ) {
3611
3611
let message = 'Error rendering inspected element.' ;
3612
3612
let stack ;
3613
3613
// Log error & cause for user to debug
@@ -3633,7 +3633,7 @@ export function attach(
3633
3633
}
3634
3634
3635
3635
// the error name is synced with ReactDebugHooks
3636
- if ( error . name === 'UnsupportedFeatureError ') {
3636
+ if ( error . name === 'ReactDebugToolsUnsupportedHookError ') {
3637
3637
return {
3638
3638
type : 'unsupported-feature' ,
3639
3639
id,
You can’t perform that action at this time.
0 commit comments