fix(index.tsx): adjust deprecated react-dom 19 functions
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
Tom Neuber 2024-12-12 17:06:01 +01:00 committed by renovate
parent 658be3cba2
commit cb28e2de4d

View file

@ -1,10 +1,10 @@
import React from "react";
import ReactDOM from "react-dom";
import ReactDOM from "react-dom/client";
import App from "./app";
ReactDOM.render(
const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root"),
</React.StrictMode>
);