Skip to content

Commit 55b0b1a

Browse files
author
Brian Vaughn
committed
Changed Flow syntax that was causing invalid build syntax
1 parent 9eff986 commit 55b0b1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-reconciler/src/ReactFiberHooks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ if (__DEV__) {
17841784
): Snapshot {
17851785
currentHookNameInDev = 'useMutableSource';
17861786
mountHookTypesDev();
1787-
return mountMutableSource<Source, Snapshot>(source, config);
1787+
return mountMutableSource(source, config);
17881788
},
17891789
};
17901790

@@ -2299,7 +2299,7 @@ if (__DEV__) {
22992299
currentHookNameInDev = 'useMutableSource';
23002300
warnInvalidHookAccess();
23012301
mountHookTypesDev();
2302-
return mountMutableSource<Source, Snapshot>(source, config);
2302+
return mountMutableSource(source, config);
23032303
},
23042304
};
23052305

0 commit comments

Comments
 (0)