Skip to content

Commit

Permalink
Remove dev tools noop for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Pope committed Feb 20, 2024
1 parent 6b5cc69 commit 113bf6f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/react-test-renderer/src/ReactTestRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,7 @@ function create(
unstable_flushSync: typeof flushSync,
} {
if (__DEV__) {
if (
enableReactTestRendererWarning === true &&
global.__REACT_DEVTOOLS_GLOBAL_HOOK__ == null
) {
if (enableReactTestRendererWarning === true) {
console.warn(
'react-test-renderer is deprecated. See https://react.dev/warnings/react-test-renderer',
);
Expand Down

0 comments on commit 113bf6f

Please sign in to comment.