Compare commits

...

1 Commits

Author SHA1 Message Date
Theodore Li
eab6aed899 fix(mothership): fix url keeping markdown hash on resource switch 2026-04-04 19:02:45 -07:00

View File

@@ -195,6 +195,7 @@ export function Home({ chatId }: HomeProps = {}) {
} else {
url.searchParams.delete('resource')
}
url.hash = ''
window.history.replaceState(null, '', url.toString())
}, [activeResourceId])