Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 503d63f

Browse files
committed
fix unused value error
1 parent bf6c721 commit 503d63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/reactjs_jsx_ppx.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ module V4 = struct
15921592
For example, if JSX ppx is used for React Native, type would be different.
15931593
*)
15941594
match interiorType with
1595-
| {ptyp_desc = Ptyp_var label} -> Some (refType Location.none)
1595+
| {ptyp_desc = Ptyp_var "ref"} -> Some (refType Location.none)
15961596
| _ ->
15971597
(* Strip explicit Js.Nullable.t in case of forwardRef *)
15981598
if stripExplicitJsNullableOfRef then stripJsNullable interiorType

0 commit comments

Comments
 (0)