diff --git a/src/React.res b/src/React.res index 5915094..0da49ad 100644 --- a/src/React.res +++ b/src/React.res @@ -394,14 +394,14 @@ external useInsertionEffect7: ( @module("react") external useSyncExternalStore: ( ~subscribe: @uncurry ((unit => unit) => (. unit) => unit), - ~getSnapshot: @uncurry unit => 'state, + ~getSnapshot: @uncurry (unit => 'state), ) => 'state = "useSyncExternalStore" @module("react") external useSyncExternalStoreWithServerSnapshot: ( ~subscribe: @uncurry ((unit => unit) => (. unit) => unit), - ~getSnapshot: @uncurry unit => 'state, - ~getServerSnapshot: @uncurry unit => 'state, + ~getSnapshot: @uncurry (unit => 'state), + ~getServerSnapshot: @uncurry (unit => 'state), ) => 'state = "useSyncExternalStore" module Uncurried = {