Skip to content

Commit 81fb92a

Browse files
committed
react 19
1 parent 4ec7730 commit 81fb92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/util/render.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function render(initialProps) {
4646

4747
const div = env.document.createElement('div');
4848
let root;
49-
if (ReactDOM.version.startsWith('18')) {
49+
if (ReactDOM.version.startsWith('18') || ReactDOM.version.startsWith('19')) {
5050
const { createRoot } = await import('react-dom/client');
5151
root = createRoot(div);
5252
} else {

0 commit comments

Comments
 (0)