diff --git a/src-docs/src/components/guide_page/guide_page_header.tsx b/src-docs/src/components/guide_page/guide_page_header.tsx index dcb3d9a763..62f48d1f47 100644 --- a/src-docs/src/components/guide_page/guide_page_header.tsx +++ b/src-docs/src/components/guide_page/guide_page_header.tsx @@ -67,7 +67,8 @@ export const GuidePageHeader: React.FunctionComponent = ({ } function renderVersion() { - return ; + const trimVersion = pkg.version.replace(/^(\d+\.\d+)\..*/, '$1'); + return ; } function renderGithub() {