Skip to content

Commit

Permalink
refactor: delete modal code in download page
Browse files Browse the repository at this point in the history
  • Loading branch information
moolmin committed Nov 19, 2024
1 parent 242e22e commit 23f518e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/(pages)/4q-create/download/[ticketId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const { Paragraph } = Typography;
export default function Page() {
const params = useParams();
const ticketId = params?.ticketId as string | undefined;
const [isModalOpen, setIsModalOpen] = useState(false);
const [ticketUrl, setTicketUrl] = useState<string>("");
const [title, setTitle] = useState<string>("");
const [shortenUrl, setShortenUrl] = useState<string>("");
Expand Down Expand Up @@ -99,11 +98,6 @@ export default function Page() {
<Button type="text" href="/" className={styles.mainBtn}>
메인으로 가기
</Button>
<ShareModal
isModalOpen={isModalOpen}
handleOk={handleOk}
handleCancel={handleCancel}
/>
</div>
);
}

0 comments on commit 23f518e

Please sign in to comment.