Skip to content

Commit 4a1f36b

Browse files
committed
prettier
1 parent 63dd76e commit 4a1f36b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/react-debug-tools/src/ReactDebugHooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ function handleRenderFunctionError(error: any): void {
680680
const messgae: string =
681681
isError && error.message
682682
? error.message
683-
: 'Error rendering inspected component'
683+
: 'Error rendering inspected component';
684684
// $FlowFixMe: Flow doesn't know about 2nd argument of Error constructor
685685
const wrapperError = new Error(messgae, {cause: error});
686686
// Note: This error name needs to stay in sync with react-devtools-shared

packages/react-devtools-shared/src/backend/renderer.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ import {
6060
TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS,
6161
TREE_OPERATION_UPDATE_TREE_BASE_DURATION,
6262
} from '../constants';
63-
import {
64-
inspectHooksOfFiber,
65-
} from 'react-debug-tools';
63+
import {inspectHooksOfFiber} from 'react-debug-tools';
6664
import {
6765
patch as patchConsole,
6866
registerRenderer as registerRendererWithConsole,

0 commit comments

Comments
 (0)