diff --git a/src/components/admin/users/userInvitation.tsx b/src/components/admin/users/userInvitation.tsx
index 4437d200..14b68c94 100644
--- a/src/components/admin/users/userInvitation.tsx
+++ b/src/components/admin/users/userInvitation.tsx
@@ -17,7 +17,7 @@ const InvitationLink = () => {
api.admin.getInvitationLink.useQuery();
const showInviationDetails = (invite) => {
- const expired = new Date(invite.expires) < new Date();
+ const expired = new Date(invite.expires) < new Date() || invite?.used;
callModal({
title: t("admin.users.authentication.generateInvitation.invitationModal.header"),
rootStyle: "text-left",
@@ -39,7 +39,7 @@ const InvitationLink = () => {
"admin.users.authentication.generateInvitation.invitationModal.expiresLabel",
)}{" "}
- {expired || invite?.used ? (
+ {expired ? (
Expired
) : (