File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4456,8 +4456,8 @@ and print_jsx_container_tag ~state tag_name props
44564456  in 
44574457  let  line_sep =  Doc. line in 
44584458  let  print_children  children  = 
4459-     print_jsx_children  ~sep: line_sep  ~state  children cmt_tbl 
4460-     |>   Doc. group  |>   Doc. indent
4459+     Doc. group 
4460+       ( Doc. indent (print_jsx_children  ~sep: line_sep  ~state  children cmt_tbl)) 
44614461  in 
44624462
44634463  Doc. group
@@ -4487,6 +4487,7 @@ and print_jsx_container_tag ~state tag_name props
44874487           [
44884488             (if  has_children then  Doc. line else  Doc. nil);
44894489             (if  has_children then  print_children children else  Doc. nil);
4490+              (if  has_children then  Doc. line else  Doc. nil);
44904491             Doc. text " </" 
44914492             name;
44924493             Doc. greater_than;
@@ -4631,6 +4632,7 @@ and print_jsx_children ~state (children_expr : Parsetree.jsx_children) ~sep
46314632  |  JSXChildrenSpreading  child  ->
46324633    Doc. concat
46334634      [Doc. dotdotdot; print_expression_with_comments ~state  child cmt_tbl]
4635+   |  JSXChildrenItems  []  -> Doc. nil
46344636  |  JSXChildrenItems  children  ->
46354637    children
46364638    |>  List. map (fun  child  ->
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments