{token.tokenLastCharacters && (
{tokenPreview(
getDynamicText({
value: token.tokenLastCharacters,
fixed: 'ABCD',
})
)}
)}
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 LastUsedDate = styled('div')`
display: flex;
align-items: center;
`;
const NeverUsed = styled('div')`
color: ${p => p.theme.gray300};
`;
const TokenPreview = styled('div')`
color: ${p => p.theme.gray300};
`;