diff --git a/src/components/GetStartedPopover/GetStartedPopover.tsx b/src/components/GetStartedPopover/GetStartedPopover.tsx index 500994f7a3b..5b4ed753715 100644 --- a/src/components/GetStartedPopover/GetStartedPopover.tsx +++ b/src/components/GetStartedPopover/GetStartedPopover.tsx @@ -95,7 +95,7 @@ const getStartedLinks = [ } ]; -export const GetStartedPopover = () => { +export const GetStartedPopover = (platform) => { const [expanded, setExpanded] = useState(false); const triggerRef = useRef(null); @@ -135,6 +135,8 @@ export const GetStartedPopover = () => { } }; + platform = platform.platform; + return ( { className="split-button__start" href={{ pathname: '/[platform]/start/getting-started/introduction/', - query: { platform: DEFAULT_PLATFORM } + query: { platform: platform } }} > Get started diff --git a/src/pages/[platform]/index.tsx b/src/pages/[platform]/index.tsx index 2f36d2af726..82bd1dd476c 100644 --- a/src/pages/[platform]/index.tsx +++ b/src/pages/[platform]/index.tsx @@ -68,7 +68,7 @@ const PlatformOverview = ({ platform }) => { - + diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 450167a058b..850ff7b6777 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -57,7 +57,7 @@ export default function Page() { fontSize=".875em" /> - +