Skip to content

Commit

Permalink
fix(frontend): prevent migration to be in core
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Dec 17, 2024
1 parent bff72ab commit 99273a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion agenta-web/src/hooks/useVaultSecret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export const useVaultSecret = () => {
useEffect(() => {
if (shouldRunMigration.current) {
shouldRunMigration.current = false
migrateProviderKeys()
if (isDemo()) {
migrateProviderKeys()
}
}
}, [])

Expand Down

0 comments on commit 99273a7

Please sign in to comment.