From 1a242233758c32c771daaf3a09affa84b3cb5b51 Mon Sep 17 00:00:00 2001 From: togami2864 <62130798+togami2864@users.noreply.github.com> Date: Wed, 9 Dec 2020 23:26:12 +0900 Subject: [PATCH] fixed typo (#20351) --- packages/react-reconciler/src/ReactFiberWorkLoop.new.js | 2 +- packages/react-reconciler/src/ReactFiberWorkLoop.old.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js index 52631ef726632..f1c2fb4cb2aac 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js @@ -3260,7 +3260,7 @@ export function warnIfNotScopedWithMatchingAct(fiber: Fiber): void { '// for react-test-renderer:\n' + // Break up imports to avoid accidentally parsing them as dependencies. 'import TestRenderer fr' + - "om react-test-renderer';\n" + + "om 'react-test-renderer';\n" + 'const {act} = TestRenderer;\n' + '// ...\n' + 'act(() => ...);', diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js index 6e97ab4a33514..36874fb5797be 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js @@ -3260,7 +3260,7 @@ export function warnIfNotScopedWithMatchingAct(fiber: Fiber): void { '// for react-test-renderer:\n' + // Break up imports to avoid accidentally parsing them as dependencies. 'import TestRenderer fr' + - "om react-test-renderer';\n" + + "om 'react-test-renderer';\n" + 'const {act} = TestRenderer;\n' + '// ...\n' + 'act(() => ...);',