Skip to content

Commit

Permalink
Remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Aug 2, 2023
1 parent 4117f59 commit 8111643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/reactDom/src/reactDOM.ml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ let render_to_stream ~context_state element =
(* We store to current_*_id to bypass the increment *)
let current_boundary_id = context_state.boundary_id in
let current_suspense_id = context_state.suspense_id in
context_state.boundary_id <- context_state.boundary_id + 1;
(* Wait for promise to resolve *)
Lwt.async (fun () ->
Lwt.map
Expand All @@ -222,7 +223,6 @@ let render_to_stream ~context_state element =
if context_state.waiting = 0 then context_state.close ()
else ())
promise);
context_state.boundary_id <- context_state.boundary_id + 1;
(* Render the fallback state *)
Printf.sprintf "<!--$?--><template id='B:%i'></template>%s<!--/$-->"
current_boundary_id (render_element fallback)
Expand Down
4 changes: 1 addition & 3 deletions packages/server-reason-react-ppx/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
compiler-libs.common
ppxlib
ppxlib.astlib
server-reason-react.react
server-reason-react.reactDom
server-reason-react.js)
server-reason-react.react)
(preprocess
(pps ppxlib.metaquot))
(kind ppx_rewriter))

0 comments on commit 8111643

Please sign in to comment.