Refactor transaction edit dialog
Modify TransactionEditDialog to only change the desktop page layout.
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user