Skip to content

Commit

Permalink
feat: 선물 상세 정보를 채운 후 버튼을 누르면 선물 채우기 페이지로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxjinn committed Feb 4, 2025
1 parent b66a364 commit ff0eabb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/gift-upload/GiftForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import InputReason from "./InputReason";
import UploadImageList from "./UploadImageList";
import ErrorMessage from "../common/ErrorMessage";
import { GIFT_NAME_MAX_LENGTH } from "@/app/constants/constants";
import Link from "next/link";

const GiftForm = () => {
const [imageCount, setImageCount] = useState(0);
Expand Down Expand Up @@ -46,9 +47,11 @@ const GiftForm = () => {
</div>
<InputReason />
<InputLink />
<Button size="lg" onClick={handleSubmit}>
채우기 완료
</Button>
<Link href="/giftbag/add">
<Button size="lg" onClick={handleSubmit}>
채우기 완료
</Button>
</Link>
</div>
);
};
Expand Down

0 comments on commit ff0eabb

Please sign in to comment.