Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement: add missing key prop

Scott Wilson49b5ab812699
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/EnvironmentTabs/EnvironmentTabs.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/EnvironmentTabs/EnvironmentTabs.tsx
index f42eafbc71..c5ff81c3d4 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/EnvironmentTabs/EnvironmentTabs.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/EnvironmentTabs/EnvironmentTabs.tsx
@@ -132,7 +132,7 @@ export const EnvironmentTabs = ({ secretPath }: Props) => {
>
<TabList>
{tabEnvironments.map((environment) => (
- <Tab className="max-w-[12vw] truncate" value={environment.slug}>
+ <Tab key={environment.slug} className="max-w-[12vw] truncate" value={environment.slug}>
<p className="truncate">{environment.name}</p>
</Tab>
))}