2
0

🐛 Disable invite button when email is empty

Closes #509
This commit is contained in:
Baptiste Arnaud
2023-05-16 15:15:13 +02:00
parent 853451b4fa
commit 8b84a7d8b9

View File

@@ -71,7 +71,7 @@ export const AddMemberForm = ({
isLoading={isSendingInvitation}
flexShrink={0}
type="submit"
isDisabled={isLoading || isLocked}
isDisabled={isLoading || isLocked || invitationEmail === ''}
>
Invite
</Button>