{token.tokenLastCharacters && (
{tokenPreview(
getDynamicText({
value: token.tokenLastCharacters,
fixed: 'ABCD',
}),
'sntrys_'
)}
)}
{isProjectLoading ? (
) : (
)}
{isProjectLoading ? (
) : (
)}
revokeToken(token) : undefined}
message={t(
'Are you sure you want to revoke this token? The token will not be usable anymore, and this cannot be undone.'
)}
>
) : (
)
}
>
{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};
`;