diff --git a/src/renderer/src/components/Popups/AddAgentModal.tsx b/src/renderer/src/components/Popups/AddAgentModal.tsx index 58ab21b066..d846bc7a19 100644 --- a/src/renderer/src/components/Popups/AddAgentModal.tsx +++ b/src/renderer/src/components/Popups/AddAgentModal.tsx @@ -220,6 +220,9 @@ export const AddAgentModal: React.FC = () => { return ( + {/* NOTE: Hero UI Modal Pattern: Combine the Button and Modal components into a single + encapsulated component. This is because the Modal component needs to bind the onOpen + event handler to the Button for proper focus management. */}