Skip to content

Commit

Permalink
chore: rename ReactDOMServerNode{Only,} (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro authored Nov 27, 2023
1 parent 5a1127f commit 96f9b55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
(modes melange))

(library
(name ReactDOMServerNodeOnly)
(name ReactDOMServerNode)
(public_name reason-react.node)
(modules ReactDOMServerNodeOnly)
(modules ReactDOMServerNode)
(libraries react)
(preprocess
(pps melange.ppx))
Expand Down
4 changes: 2 additions & 2 deletions test/ReactDOM__test.re
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ describe("ReactDOM", () => {
hasErrored := true;
},
);
let {pipe, abort: _}: ReactDOMServerNodeOnly.pipeableStream =
ReactDOMServerNodeOnly.renderToPipeableStream(
let {pipe, abort: _}: ReactDOMServerNode.pipeableStream =
ReactDOMServerNode.renderToPipeableStream(
<div> "Hello world!"->React.string </div>,
);
pipe(stream);
Expand Down

0 comments on commit 96f9b55

Please sign in to comment.