diff --git a/docs/src/components/version-switcher.tsx b/docs/src/components/version-switcher.tsx index 5f7e1c807f..c02ad444c8 100644 --- a/docs/src/components/version-switcher.tsx +++ b/docs/src/components/version-switcher.tsx @@ -49,7 +49,7 @@ export default function VersionSwitcher(): JSX.Element { mobile={windowSize === 'mobile'} items={versions.map(({ label, url }) => ({ label, - to: url + location.pathname, + to: url + location.pathname + location.hash, target: '_self', }))} />