diff --git a/apps/web/ee/components/apiKeys/ApiKeyListItem.tsx b/apps/web/ee/components/apiKeys/ApiKeyListItem.tsx
index f6ef6498e0..fd89910c4c 100644
--- a/apps/web/ee/components/apiKeys/ApiKeyListItem.tsx
+++ b/apps/web/ee/components/apiKeys/ApiKeyListItem.tsx
@@ -37,11 +37,11 @@ export default function ApiKeyListItem(props: { apiKey: TApiKeys; onEditApiKey:
{props?.apiKey?.note ? props?.apiKey?.note : t("api_key_no_note")}
- {!neverExpires && isExpired ? (
+ {!neverExpires && isExpired && (