From 1945fef035b395768a11f0fca5f62758f5223e4d Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Fri, 21 May 2021 13:37:09 -0700 Subject: [PATCH] docs: fix redirect url Signed-off-by: Andrea Luzzardi --- .../gatsby-theme-docs/components/Sidebar/Select/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js index 129f1cb0..28408042 100644 --- a/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js +++ b/tools/gendocs/src/@rocketseat/gatsby-theme-docs/components/Sidebar/Select/index.js @@ -19,7 +19,7 @@ const Select = () => { }, []) return ( - isBrowser ? window.location.pathname = `/${e.currentTarget.value}/index.html` : null}> + isBrowser ? window.location.pathname = `/${e.currentTarget.value}` : null}> {tagsList.map(t => ( ))}