This commit is contained in:
Kirill
2026-05-24 15:48:33 +05:00
parent 88fedd675a
commit 96f06c79b4
15 changed files with 65 additions and 13 deletions
+3
View File
@@ -11,12 +11,15 @@ import { NotFoundPage } from '@/pages/not-found'
import { PrivacyPolicyPage } from '@/pages/privacy-policy'
import { ProductPage } from '@/pages/product'
import { TermsPage } from '@/pages/terms'
import { usePageTitleReset } from '@/shared/lib/use-page-title'
import { SkeletonPage } from '@/shared/ui/SkeletonPage'
const AdminLayoutPage = lazy(() => import('@/pages/admin-layout').then((m) => ({ default: m.AdminLayoutPage })))
const MeLayoutPage = lazy(() => import('@/pages/me').then((m) => ({ default: m.MeLayoutPage })))
export function AppRoutes() {
usePageTitleReset()
return (
<MainLayout>
<Routes>