import React from 'react'; import { createBrowserRouter, RouterProvider } from 'react-router-dom'; import Home from './pages'; import { homeRoutes } from './pages/routes'; const router = createBrowserRouter([ { path: '/', element: , children: homeRoutes, }, ]); function App() { return ; } export default App;