Skip to content

Commit

Permalink
bug fix(frontend)
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Dec 17, 2024
1 parent aad37b8 commit 212ed32
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions agenta-web/src/components/pages/settings/Secrets/Secrets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ export default function Secrets() {
const [messageAPI, contextHolder] = message.useMessage()

useEffect(() => {
if (isDemo()) {
setLlmProviderKeys(secrets)
}
setLlmProviderKeys(secrets)
}, [secrets])

return (
Expand Down

0 comments on commit 212ed32

Please sign in to comment.