File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
react-devtools-shared/src/backend Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -680,7 +680,7 @@ function handleRenderFunctionError(error: any): void {
680
680
const messgae : string =
681
681
isError && error . message
682
682
? error . message
683
- : 'Error rendering inspected component'
683
+ : 'Error rendering inspected component' ;
684
684
// $FlowFixMe: Flow doesn't know about 2nd argument of Error constructor
685
685
const wrapperError = new Error ( messgae , { cause : error } ) ;
686
686
// Note: This error name needs to stay in sync with react-devtools-shared
Original file line number Diff line number Diff line change @@ -60,9 +60,7 @@ import {
60
60
TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS ,
61
61
TREE_OPERATION_UPDATE_TREE_BASE_DURATION ,
62
62
} from '../constants' ;
63
- import {
64
- inspectHooksOfFiber ,
65
- } from 'react-debug-tools' ;
63
+ import { inspectHooksOfFiber } from 'react-debug-tools' ;
66
64
import {
67
65
patch as patchConsole ,
68
66
registerRenderer as registerRendererWithConsole ,
You can’t perform that action at this time.
0 commit comments