Skip to content

Commit

Permalink
fix: invite modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi-bams committed Dec 12, 2024
1 parent b50ede3 commit aa26f68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/superadmin/header/InviteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ const InviteModal = (props: InviteProps) => {
if (status === 200) {
if (addToast) addToast('Users invite code created successfully', 'success');
setInviteNumber(1);
setPubkey('');
setSatAmount(1);
close();
} else {
if (addToast) addToast('Could not create users invite code', 'error');
Expand Down

0 comments on commit aa26f68

Please sign in to comment.