diff --git a/apps/rowboat/app/projects/[projectId]/entities/agent_config.tsx b/apps/rowboat/app/projects/[projectId]/entities/agent_config.tsx index 7e2bb22b..bbdc40b4 100644 --- a/apps/rowboat/app/projects/[projectId]/entities/agent_config.tsx +++ b/apps/rowboat/app/projects/[projectId]/entities/agent_config.tsx @@ -89,19 +89,6 @@ export function AgentConfig({ setLocalName(agent.name); }, [agent.name]); - // Store active tab in URL hash to persist across re-renders - useEffect(() => { - const hash = window.location.hash.slice(1); - if (hash === 'instructions' || hash === 'configurations') { - setActiveTab(hash as TabType); - } - }, []); - - const handleTabChange = (tab: TabType) => { - setActiveTab(tab); - window.location.hash = tab; - }; - // Track changes in RAG datasources useEffect(() => { const currentSources = agent.ragDataSources || []; @@ -211,7 +198,7 @@ export function AgentConfig({ {(['instructions', 'configurations'] as TabType[]).map((tab) => (