@@ -16,7 +16,7 @@ import {useModifyAttendee} from "../../../mutations/useModifyAttendee.ts";
1616import { showError , showSuccess } from "../../../utilites/notifications.tsx" ;
1717import { t , Trans } from "@lingui/macro" ;
1818import { confirmationDialog } from "../../../utilites/confirmationDialog.tsx" ;
19- import { useResendAttendeeProduct } from "../../../mutations/useResendAttendeeProduct .ts" ;
19+ import { useResendAttendeeTicket } from "../../../mutations/useResendAttendeeTicket .ts" ;
2020import { ViewAttendeeModal } from "../../modals/ViewAttendeeModal" ;
2121import { ActionMenu } from '../ActionMenu/index.tsx' ;
2222
@@ -33,7 +33,7 @@ export const AttendeeTable = ({attendees, openCreateModal}: AttendeeTableProps)
3333 const [ selectedAttendee , setSelectedAttendee ] = useState < Attendee > ( ) ;
3434 const { data : event } = useGetEvent ( eventId ) ;
3535 const modifyMutation = useModifyAttendee ( ) ;
36- const resendProductMutation = useResendAttendeeProduct ( ) ;
36+ const resendTicketMutation = useResendAttendeeTicket ( ) ;
3737
3838 const handleModalClick = ( attendee : Attendee , modal : {
3939 open : ( ) => void
@@ -43,7 +43,7 @@ export const AttendeeTable = ({attendees, openCreateModal}: AttendeeTableProps)
4343 }
4444
4545 const handleResendProduct = ( attendee : Attendee ) => {
46- resendProductMutation . mutate ( {
46+ resendTicketMutation . mutate ( {
4747 attendeeId : attendee . id ,
4848 eventId : eventId ,
4949 } , {
0 commit comments