Skip to content

Commit 0ab6987

Browse files
committed
Older camls
1 parent 09950f1 commit 0ab6987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/core/js_dump.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ and print_jsx cxt ~(level : int) f (fnName : string) (tag : J.expression)
10241024
in
10251025
let print_props () =
10261026
let props = List.filter (fun (n, _) -> n <> "children") fields in
1027-
if not (List.is_empty props) then
1027+
if List.length props > 0 then
10281028
(List.iter (fun (n, x) ->
10291029
P.space f;
10301030
P.string f n;

0 commit comments

Comments
 (0)