@samitouri / QOS-React-2 / commits / 38c03ce006

Fix typo in commet (#16727)

Heaven committed Sep 11, 2019 at 01:27 UTC 38c03ce00643c02f61bee69fec16459cea01af04
1 file changed +1 -1
packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js
+1 -1
@@ -431,7 +431,7 @@ describe('ReactHooks', () => {
431 expect(root).toMatchRenderedOutput('1');
432
433 // Update to the same state. React doesn't know if the queue is empty
434 - // because the alterate fiber has pending update priority, so we have to
434 + // because the alternate fiber has pending update priority, so we have to
435 // enter the render phase before we can bail out. But we bail out before
436 // rendering the child, and we don't fire any effects.
437 act(() => setCounter(1));