File tree Expand file tree Collapse file tree
packages/react-devtools-shared/src/backend Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3607,7 +3607,7 @@ export function attach(
36073607 mostRecentlyInspectedElement = inspectElementRaw ( id ) ;
36083608 } catch (error) {
36093609 // the error name is synced with ReactDebugHooks
3610- if ( error . name === 'RenderFunctionError ' ) {
3610+ if ( error . name === 'ReactDebugToolsRenderFunctionError ' ) {
36113611 let message = 'Error rendering inspected element.' ;
36123612 let stack ;
36133613 // Log error & cause for user to debug
@@ -3633,7 +3633,7 @@ export function attach(
36333633 }
36343634
36353635 // the error name is synced with ReactDebugHooks
3636- if ( error . name === 'UnsupportedFeatureError ') {
3636+ if ( error . name === 'ReactDebugToolsUnsupportedHookError ') {
36373637 return {
36383638 type : 'unsupported-feature' ,
36393639 id,
You can’t perform that action at this time.
0 commit comments