mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-07-07 13:18:30 -06:00
PR-753737: Se saca el proyecto al directorio Raíz y se actualizan dependencias.
This commit is contained in:
11
src/frontend/components/PrincipalRoutes.tsx
Normal file
11
src/frontend/components/PrincipalRoutes.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
//Router
|
||||
import { useRoutes } from 'react-router-dom';
|
||||
//Routes
|
||||
import routes from '../../routes';
|
||||
|
||||
const PrincipalRoutes = () => {
|
||||
let element = useRoutes(routes);
|
||||
return element;
|
||||
};
|
||||
|
||||
export default PrincipalRoutes;
|
Reference in New Issue
Block a user