Skip to content

Commit

Permalink
fixed typo (#20351)
Browse files Browse the repository at this point in the history
  • Loading branch information
togami2864 authored Dec 9, 2020
1 parent a233c9e commit 1a24223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberWorkLoop.new.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => ...);',
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberWorkLoop.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => ...);',
Expand Down

0 comments on commit 1a24223

Please sign in to comment.