We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c4b9c6 commit 733447cCopy full SHA for 733447c
src/React.res
@@ -394,14 +394,14 @@ external useInsertionEffect7: (
394
@module("react")
395
external useSyncExternalStore: (
396
~subscribe: @uncurry ((unit => unit) => (. unit) => unit),
397
- ~getSnapshot: @uncurry unit => 'state,
+ ~getSnapshot: @uncurry (unit => 'state),
398
) => 'state = "useSyncExternalStore"
399
400
401
external useSyncExternalStoreWithServerSnapshot: (
402
403
404
- ~getServerSnapshot: @uncurry unit => 'state,
+ ~getServerSnapshot: @uncurry (unit => 'state),
405
406
407
module Uncurried = {
0 commit comments