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
parent 2188ad08ae
commit ffeb3c1ad4
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

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