diff --git a/static/app/views/settings/organizationMembers/organizationMemberDetail.tsx b/static/app/views/settings/organizationMembers/organizationMemberDetail.tsx index 3ee09df8f575ed..b4caf1455944c4 100644 --- a/static/app/views/settings/organizationMembers/organizationMemberDetail.tsx +++ b/static/app/views/settings/organizationMembers/organizationMemberDetail.tsx @@ -23,7 +23,6 @@ import Panel from 'sentry/components/panels/panel'; import PanelBody from 'sentry/components/panels/panelBody'; import PanelHeader from 'sentry/components/panels/panelHeader'; import PanelItem from 'sentry/components/panels/panelItem'; -import TextCopyInput from 'sentry/components/textCopyInput'; import {Tooltip} from 'sentry/components/tooltip'; import {IconRefresh} from 'sentry/icons'; import {t, tct} from 'sentry/locale'; @@ -288,7 +287,7 @@ class OrganizationMemberDetail extends DeprecatedAsyncView { const {access, orgRoleList} = organization; const canEdit = access.includes('org:write') && !this.memberDeactivated; - const {email, expired, pending, invite_link: inviteLink} = member; + const {email, expired, pending} = member; const canResend = !expired; const showAuth = !pending; @@ -330,35 +329,19 @@ class OrganizationMemberDetail extends DeprecatedAsyncView { - {inviteLink && ( + {(member.pending || member.expired) && ( - - {t('Invite Link')} - {inviteLink} -

- {t( - 'This invite link can be used by anyone who knows it. Keep it secure!' - )} -

-
{canResend && ( )} -