import { useRoutes } from 'react-router-dom'
import routes from './configs/routes'

function App() {
  const routerElement = useRoutes(routes)
  return <div className="app">{routerElement}</div>
}

export default App
