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

export default function AuthorizedRoutes() {
    const element = useRoutes(routes);
    return element
}