Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Apr 16, 2024
1 parent e3bb884 commit 1646f57
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ export const CredentialsLegacyAuthConsumers = ({
<CopyText>{legacyProdConsumer.apiKey}</CopyText>
</div>
)}
{keyVisibility === KeyVisibility.all && (
oldCredentialsExpirationDate && <Alert variant="info">
{t("details.credentials.info", {
date: oldCredentialsExpirationDate.toLocaleDateString(),
amount: timeLeft,
})}
</Alert>
)}
{keyVisibility === KeyVisibility.all &&
oldCredentialsExpirationDate && (
<Alert variant="info">
{t("details.credentials.info", {
date: oldCredentialsExpirationDate.toLocaleDateString(),
amount: timeLeft,
})}
</Alert>
)}
</div>
)}
{status === IntegrationStatus.Draft &&
Expand Down

0 comments on commit 1646f57

Please sign in to comment.