Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skbhagat0502 committed Nov 9, 2023
1 parent 7b7b31b commit 5dc00f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export const EventRegistrantsModal = (props: ModalPropType): JSX.Element => {
const { data: memberData, loading: memberLoading } = useQuery(MEMBERS_LIST, {
variables: { id: props.orgId },
});
const notifyAddRegistrant = async (): Promise<void> => {
toast.promise(addRegistrant, {
const notifyAddRegistrant = (): Promise<void> => {
return toast.promise(addRegistrant, {
pending: 'Adding the attendee...',
success: 'Added the attendee successfully!',
error: 'There was an error in adding the attendee!',
Expand Down

0 comments on commit 5dc00f1

Please sign in to comment.