Skip to content

Commit

Permalink
Changed Flow syntax that was causing invalid build syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Feb 14, 2020
1 parent 9eff986 commit 55b0b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-reconciler/src/ReactFiberHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ if (__DEV__) {
): Snapshot {
currentHookNameInDev = 'useMutableSource';
mountHookTypesDev();
return mountMutableSource<Source, Snapshot>(source, config);
return mountMutableSource(source, config);
},
};

Expand Down Expand Up @@ -2299,7 +2299,7 @@ if (__DEV__) {
currentHookNameInDev = 'useMutableSource';
warnInvalidHookAccess();
mountHookTypesDev();
return mountMutableSource<Source, Snapshot>(source, config);
return mountMutableSource(source, config);
},
};

Expand Down

0 comments on commit 55b0b1a

Please sign in to comment.