Refactor transaction edit dialog

Modify TransactionEditDialog to only change the desktop page layout.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 09:54:29 +00:00
parent aa39b23ccd
commit 00d8d7f923
2 changed files with 85 additions and 29 deletions

View File

@@ -4,6 +4,7 @@ import { Bell } from 'lucide-react';
import { useAuth } from '@/contexts/auth';
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
import { Skeleton } from '@/components/ui/skeleton';
import { useIsMobile } from '@/hooks/use-mobile';
const Header: React.FC = () => {
const {
@@ -12,6 +13,7 @@ const Header: React.FC = () => {
const userName = user?.user_metadata?.username || '익명';
const [imageLoaded, setImageLoaded] = useState(false);
const [imageError, setImageError] = useState(false);
const isMobile = useIsMobile();
// 이미지 프리로딩 처리
useEffect(() => {