From 38c03ce00643c02f61bee69fec16459cea01af04 Mon Sep 17 00:00:00 2001 From: Heaven Date: Wed, 11 Sep 2019 01:27:38 +0800 Subject: [PATCH] Fix typo in commet (#16727) --- .../react-reconciler/src/__tests__/ReactHooks-test.internal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js b/packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js index bde8b4831abd4..7bece8ee1aef5 100644 --- a/packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js +++ b/packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js @@ -431,7 +431,7 @@ describe('ReactHooks', () => { expect(root).toMatchRenderedOutput('1'); // Update to the same state. React doesn't know if the queue is empty - // because the alterate fiber has pending update priority, so we have to + // because the alternate fiber has pending update priority, so we have to // enter the render phase before we can bail out. But we bail out before // rendering the child, and we don't fire any effects. act(() => setCounter(1));