From 2164cef72827cc362525d438f3ef76bf60f95103 Mon Sep 17 00:00:00 2001 From: Theodore Li Date: Mon, 6 Apr 2026 17:23:09 -0700 Subject: [PATCH] fix(mothership): fix url keeping markdown hash on resource switch (#3979) Co-authored-by: Theodore Li --- apps/sim/app/workspace/[workspaceId]/home/home.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/sim/app/workspace/[workspaceId]/home/home.tsx b/apps/sim/app/workspace/[workspaceId]/home/home.tsx index 02109c3507..d76f17ff45 100644 --- a/apps/sim/app/workspace/[workspaceId]/home/home.tsx +++ b/apps/sim/app/workspace/[workspaceId]/home/home.tsx @@ -195,6 +195,7 @@ export function Home({ chatId }: HomeProps = {}) { } else { url.searchParams.delete('resource') } + url.hash = '' window.history.replaceState(null, '', url.toString()) }, [activeResourceId])