From eab6aed899c96eef85a22b03e378b46ff0dd82cd Mon Sep 17 00:00:00 2001 From: Theodore Li Date: Sat, 4 Apr 2026 19:02:45 -0700 Subject: [PATCH] fix(mothership): fix url keeping markdown hash on resource switch --- 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 c0c9f454cc..858fc91399 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])