diff --git a/src/pages/settings/Agents/EditAgentPage.tsx b/src/pages/settings/Agents/EditAgentPage.tsx index 6dc1e4444ea9..390ca16f7cb3 100644 --- a/src/pages/settings/Agents/EditAgentPage.tsx +++ b/src/pages/settings/Agents/EditAgentPage.tsx @@ -66,6 +66,8 @@ function EditAgentPage({route}: EditAgentPageProps) { chatWithAgent(accountID); }; const handleCopilotPress = () => { + ModalActions.closeModal(); + Navigation.replace(ROUTES.SETTINGS_PROFILE); switchToDelegator(agentLogin); };