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

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

export default AuthRouter
