chore: useToast replaced with all Toast components used in feature
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import { Layout } from '@/components/Layout/Layout';
|
||||
import {
|
||||
AuthenticationPage,
|
||||
ForgetPasswordPage,
|
||||
} from '@/features/authorization';
|
||||
import {
|
||||
Calendar,
|
||||
Devices,
|
||||
@@ -27,6 +31,18 @@ export interface RouteConfig {
|
||||
|
||||
// can lazy load component if needed (ex. lazy(() => import('@/features/home/routes/HomePage'));)
|
||||
export const appRoutes: RouteConfig[] = [
|
||||
{
|
||||
path: '/',
|
||||
element: <Navigate to="/setting/profile" replace />,
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
element: <AuthenticationPage />,
|
||||
},
|
||||
{
|
||||
path: '/forget-password',
|
||||
element: <ForgetPasswordPage />,
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
element: <Navigate to="/setting/profile" replace />,
|
||||
|
||||
Reference in New Issue
Block a user