diff --git a/app/(route)/challenge/_components/ChallengeFormDialog.tsx b/app/(route)/challenge/_components/ChallengeFormDialog.tsx index 5689ed7..a107ffd 100644 --- a/app/(route)/challenge/_components/ChallengeFormDialog.tsx +++ b/app/(route)/challenge/_components/ChallengeFormDialog.tsx @@ -37,6 +37,7 @@ interface Inputs { } export default function ChallengeFormDialog() { + const [isOpenDialog, setIsOpenDialog] = useState(false) const [selectedCategory, setSelectedCategory] = useState('선택안함') const [isChecked, setIsChecked] = useState({ check1: false, @@ -71,13 +72,14 @@ export default function ChallengeFormDialog() { imageUrl: 'https://dodals3.s3.ap-northeast-2.amazonaws.com/asset/dodaldodal_square.png', sendUrl: `https://dodaldodal-frontend.vercel.app/invitation/${challengeId}`, }) + setIsOpenDialog(false) }, } ) } return ( - +