diff --git a/src/components/layout/AppShell/AppShell.tsx b/src/components/layout/AppShell/AppShell.tsx index 238cf51..f857cdc 100644 --- a/src/components/layout/AppShell/AppShell.tsx +++ b/src/components/layout/AppShell/AppShell.tsx @@ -1,7 +1,6 @@ import { useEffect, useState, useCallback, useRef } from 'react'; import { useLocation, useNavigate, Link } from 'react-router-dom'; import { useQuery } from '@tanstack/react-query'; -import { AnimatePresence, motion } from 'framer-motion'; import { useTranslation } from 'react-i18next'; import { useAuthStore } from '@/store/auth'; @@ -30,8 +29,6 @@ import { MobileBottomNav } from './MobileBottomNav'; import { AppHeader } from './AppHeader'; import { Aurora } from './Aurora'; -import { slideUp, slideUpTransition } from '@/components/motion/transitions'; - // Desktop nav icons const HomeIcon = ({ className }: { className?: string }) => ( {/* Main content */} -
- {/* Disable animations in admin pages (scroll restoration conflicts with animations) */} - {location.pathname.startsWith('/admin') ? ( - children - ) : ( - - - {children} - - - )} -
+
{children}
{/* Mobile Bottom Navigation */}