From 4cad23aaa37af9f356aac9ba9c5833dd8bdf1b78 Mon Sep 17 00:00:00 2001 From: Nicholas Flamy <30300649+NicholasFlamy@users.noreply.github.com> Date: Mon, 10 Feb 2025 11:46:47 -0500 Subject: [PATCH] docs: add-hash #15860 follow-up (#15988) add-hash --- docs/src/components/version-switcher.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', }))} />