diff --git a/src/app/mobile/admin/dashboard/_components/DashboardItem.tsx b/src/app/mobile/admin/dashboard/_components/DashboardItem.tsx index 0f8ec0d..9eaedb2 100644 --- a/src/app/mobile/admin/dashboard/_components/DashboardItem.tsx +++ b/src/app/mobile/admin/dashboard/_components/DashboardItem.tsx @@ -1,5 +1,6 @@ import Image from 'next/image'; import convertTime from '@/utils/convertTime'; +import { handleTouchStart, handleTouchEnd } from '@/utils/handleTouch'; import { DashboardProps } from '@/types/dashboardType'; export default function DashboardItem({ @@ -69,6 +70,8 @@ export default function DashboardItem({ - - - ); -} diff --git a/src/components/mobile/Alert/index.tsx b/src/components/mobile/Alert/index.tsx index dac4f95..f157930 100644 --- a/src/components/mobile/Alert/index.tsx +++ b/src/components/mobile/Alert/index.tsx @@ -1,3 +1,5 @@ +import { handleTouchStart, handleTouchEnd } from '@/utils/handleTouch'; + interface AlertProps { content: string; // alert창 문구 ctaButtonText: string; // 오른쪽 버튼에 들어갈 문구 @@ -20,7 +22,7 @@ export default function Alert({ : 'bg-warning text-white-primary'; // 빨간 버튼 (신청 취소) const defalutButtonClass = - 'text-body-1-normal_semi w-[108px] rounded-[10px] py-[9px] font-medium outline-none'; + 'text-body-1-normal_semi w-[108px] rounded-[10px] py-[9px] font-medium outline-none '; return (
@@ -42,13 +44,17 @@ export default function Alert({