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

This commit is contained in:
Vladyslav Matsiiako
2023-01-13 01:29:14 -08:00
parent d958341154
commit 6c61aef526
+1 -1
View File
@@ -412,7 +412,7 @@ export default function Dashboard() {
secrets && await updateSecrets({ secrets }); 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 this user has never saved environment variables before, show them a prompt to read docs
if (!hasUserEverPushed) { if (!hasUserEverPushed) {