import { FC } from 'react'
import { Route, Routes } from 'react-router-dom'
import { Pages } from '../config/Pages'
import Login from '../pages/auth/Login'
import Register from '../pages/auth/Register'

const AuthRouter: FC = () => {
    return (
        <Routes>
            <Route path={Pages.auth.login} element={<Login />} />
            <Route path={Pages.auth.register} element={<Register />} />
        </Routes>
    )
}

export default AuthRouter