Skip to content

Commit 0f13d96

Browse files
committed
refactor: fix internal method name
1 parent 08091c9 commit 0f13d96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dom-element-to-react/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from "react";
22
import convert, { CustomElementHandlerType } from "./convert";
33

4-
const rehydrateChildren = async (
4+
const domElementToReact = async (
55
node: Node,
66
customHandler?: CustomElementHandlerType
77
): Promise<React.ReactNode> => {
@@ -18,4 +18,4 @@ const rehydrateChildren = async (
1818
return React.createElement(React.Fragment, {}, ...children);
1919
};
2020

21-
export default rehydrateChildren;
21+
export default domElementToReact;

0 commit comments

Comments
 (0)