{token.tokenLastCharacters && (
{tokenPreview(
getDynamicText({
value: token.tokenLastCharacters,
fixed: 'ABCD',
}),
'sntrys_'
)}
)}
{isProjectLoading ? (
) : (
)}
{isProjectLoading ? (
) : (
)}
revokeToken(token) : undefined}
message={t(
'Are you sure you want to revoke %s token? It will not be usable anymore, and this cannot be undone.',
tokenPreview(token.tokenLastCharacters || '', 'sntrys_')
)}
>
) : (
)
}
>
{t('Revoke')}
);
}
const Label = styled('div')``;
const Actions = styled('div')`
display: flex;
justify-content: flex-end;
`;
const DateTime = styled('div')`
display: flex;
align-items: center;
gap: ${space(0.5)};
`;
const NeverUsed = styled('div')`
color: ${p => p.theme.gray300};
`;
const TokenPreview = styled('div')`
color: ${p => p.theme.gray300};
`;