Skip to content

Commit 2c735a5

Browse files
committed
refact: api 타입 명시
1 parent 3310a65 commit 2c735a5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/features/dashboard/api/mail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const readEmail = async (eventId: number, status: 'PENDING' | 'SENT'): Pr
1616
}
1717

1818
// 전체/티켓별 구매자 이메일 조회
19-
export const readPurchaserEmails = async (eventId: number, ticketId?: number) => {
19+
export const readPurchaserEmails = async (eventId: number, ticketId?: number): Promise<{email: string[]}> => {
2020
const response = await axiosClient.get('/orders/purchaser-emails',
2121
{
2222
params: {

src/widgets/dashboard/ui/SelectTicketModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const SelectTicketModal = ({ onClose, openEmailModal }: SelectTicketModalProps)
5252
tickets={ticket}
5353
onClick={() => {
5454
handleClick(ticket.ticketId);
55-
openEmailModal?.();
5655
}}
5756
/>
5857
))

0 commit comments

Comments
 (0)