Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(mothership): fix url keeping markdown hash on resource switch
  • Loading branch information
Theodore Li committed Apr 5, 2026
commit eab6aed899c96eef85a22b03e378b46ff0dd82cd
1 change: 1 addition & 0 deletions apps/sim/app/workspace/[workspaceId]/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ export function Home({ chatId }: HomeProps = {}) {
} else {
url.searchParams.delete('resource')
}
url.hash = ''
Comment thread
TheodoreSpeaks marked this conversation as resolved.
window.history.replaceState(null, '', url.toString())
}, [activeResourceId])

Expand Down
Loading