Skip to content

Commit a84e500

Browse files
committed
Update ref usage
1 parent 01d0904 commit a84e500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/syntax_tests/data/idempotency/reason-react/src/ReactDOMRe.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ type domRef
8181

8282
module Ref = {
8383
type t = domRef
84-
type currentDomRef = React.Ref.t<Js.nullable<Dom.element>>
84+
type currentDomRef = React.ref<Js.nullable<Dom.element>>
8585
type callbackDomRef = Js.nullable<Dom.element> => unit
8686

8787
external domRef: currentDomRef => domRef = "%identity"

0 commit comments

Comments
 (0)