Skip to content

Commit

Permalink
chore(invites): Clarify expiration message (#17862)
Browse files Browse the repository at this point in the history
* chore(invites): Clarify expiration message

* Change wording
  • Loading branch information
Twixes authored and daibhin committed Oct 23, 2023
1 parent 236ccc1 commit 10f6a83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/scenes/organization/Settings/InviteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function InviteModal({ isOpen, onClose }: { isOpen: boolean; onClose: ()

<div className="flex-1 flex gap-2 overflow-hidden">
{invite.is_expired ? (
<b>Expired! Delete and recreate</b>
<b>Expired – please recreate</b>
) : (
<>
{preflight?.email_service_available ? (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/organization/Settings/Invites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { LemonDialog } from 'lib/lemon-ui/LemonDialog'
function InviteLinkComponent(id: string, invite: OrganizationInviteType): JSX.Element {
const url = new URL(`/signup/${id}`, document.baseURI).href
return invite.is_expired ? (
<b>Expired! Delete and recreate</b>
<b>Expired – please recreate</b>
) : (
<CopyToClipboardInline data-attr="invite-link" description="invite link">
{url}
Expand Down

0 comments on commit 10f6a83

Please sign in to comment.