Skip to content

Commit 9dfe973

Browse files
authored
Nit: fix inconsistent spacing in a warning (#16310)
1 parent c4f0b93 commit 9dfe973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,12 +2505,12 @@ export function warnIfNotScopedWithMatchingAct(fiber: Fiber): void {
25052505
'Be sure to use the matching version of act() corresponding to your renderer:\n\n' +
25062506
'// for react-dom:\n' +
25072507
"import {act} from 'react-dom/test-utils';\n" +
2508-
'//...\n' +
2508+
'// ...\n' +
25092509
'act(() => ...);\n\n' +
25102510
'// for react-test-renderer:\n' +
25112511
"import TestRenderer from 'react-test-renderer';\n" +
25122512
'const {act} = TestRenderer;\n' +
2513-
'//...\n' +
2513+
'// ...\n' +
25142514
'act(() => ...);' +
25152515
'%s',
25162516
getStackByFiberInDevAndProd(fiber),

0 commit comments

Comments
 (0)