From c9852958444e75aa11662db2c44e2d074a3105d3 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Thu, 19 Dec 2024 09:35:19 +0100 Subject: [PATCH] fix(store): Uploading to store selects two agents --- .../frontend/src/components/agptui/PublishAgentSelect.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autogpt_platform/frontend/src/components/agptui/PublishAgentSelect.tsx b/autogpt_platform/frontend/src/components/agptui/PublishAgentSelect.tsx index e5cf4b47c1b5..462da649d05a 100644 --- a/autogpt_platform/frontend/src/components/agptui/PublishAgentSelect.tsx +++ b/autogpt_platform/frontend/src/components/agptui/PublishAgentSelect.tsx @@ -107,9 +107,9 @@ export const PublishAgentSelect: React.FC = ({
{agents.map((agent) => (
= ({ }} tabIndex={0} role="button" - aria-pressed={selectedAgent === agent.name} + aria-pressed={selectedAgentId === agent.id} >