import ReactDOM from "react-dom/client"; import React from "react"; import { navbar } from "./navbar"; export default function App(Root) { const root = ReactDOM.createRoot(document.querySelector("root")); root.render(<>{ navbar() } { Root() }); return root; }