Skip to content

Commit

Permalink
oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliahsu committed Sep 27, 2024
1 parent 3d96c84 commit c1d8822
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export default function useInviteModal({organization, initialData, source}: Prop
const sendInvites = useCallback(async () => {
setState(prev => ({...prev, sendingInvites: true}));
await Promise.all(invites.map(sendInvite));
if (organization.features.includes('members-invite-teammates')) {
if (organization.features.includes('invite-members-new-modal')) {
removeSentInvites();
}
setState(prev => ({...prev, sendingInvites: false, complete: true}));
Expand Down

0 comments on commit c1d8822

Please sign in to comment.