Skip to content

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

hotfix: fix the bug with pushing multiple envars in a sequence

Vladyslav Matsiiako6c61aef52611
diff --git a/frontend/pages/dashboard/[id].tsx b/frontend/pages/dashboard/[id].tsx
index 07b4133a02..949db52c0f 100644
--- a/frontend/pages/dashboard/[id].tsx
+++ b/frontend/pages/dashboard/[id].tsx
@@ -412,7 +412,7 @@ export default function Dashboard() {
secrets && await updateSecrets({ secrets });
}
- setInitialData(newData);
+ setInitialData(structuredClone(newData));
// If this user has never saved environment variables before, show them a prompt to read docs
if (!hasUserEverPushed) {