From 55b0b1afcfb1acee8af89c90ba4d9f147a9311e1 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Fri, 14 Feb 2020 11:14:18 -0800 Subject: [PATCH] Changed Flow syntax that was causing invalid build syntax --- packages/react-reconciler/src/ReactFiberHooks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-reconciler/src/ReactFiberHooks.js b/packages/react-reconciler/src/ReactFiberHooks.js index 1b51f2cc395b7..eb8088cc6743e 100644 --- a/packages/react-reconciler/src/ReactFiberHooks.js +++ b/packages/react-reconciler/src/ReactFiberHooks.js @@ -1784,7 +1784,7 @@ if (__DEV__) { ): Snapshot { currentHookNameInDev = 'useMutableSource'; mountHookTypesDev(); - return mountMutableSource(source, config); + return mountMutableSource(source, config); }, }; @@ -2299,7 +2299,7 @@ if (__DEV__) { currentHookNameInDev = 'useMutableSource'; warnInvalidHookAccess(); mountHookTypesDev(); - return mountMutableSource(source, config); + return mountMutableSource(source, config); }, };