import React from 'react';
import { createBrowserRouter } from 'react-router-dom';
import App from './App';
import { appRoutes } from './routes.jsx';

const router = createBrowserRouter([
    {
        path: '/',
        element: <App />,
        children: appRoutes,
    },
]);

export default router;
