chore: useToast replaced with all Toast components used in feature

This commit is contained in:
2025-08-15 19:36:23 +03:30
parent aa2e341baa
commit e7b596005b
15 changed files with 964 additions and 1444 deletions

View File

@@ -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 />,