Skip to content

Commit 113bf6f

Browse files
author
Jack Pope
committed
Remove dev tools noop for now
1 parent 6b5cc69 commit 113bf6f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/react-test-renderer/src/ReactTestRenderer.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,7 @@ function create(
475475
unstable_flushSync: typeof flushSync,
476476
} {
477477
if (__DEV__) {
478-
if (
479-
enableReactTestRendererWarning === true &&
480-
global.__REACT_DEVTOOLS_GLOBAL_HOOK__ == null
481-
) {
478+
if (enableReactTestRendererWarning === true) {
482479
console.warn(
483480
'react-test-renderer is deprecated. See https://react.dev/warnings/react-test-renderer',
484481
);

0 commit comments

Comments
 (0)