diff --git a/src/components/GlobalNav/components/AmplifyNavLink.tsx b/src/components/GlobalNav/components/AmplifyNavLink.tsx index e842d67a8ef..7f40957f294 100644 --- a/src/components/GlobalNav/components/AmplifyNavLink.tsx +++ b/src/components/GlobalNav/components/AmplifyNavLink.tsx @@ -2,6 +2,7 @@ import { Flex, Text, Button, VisuallyHidden } from '@aws-amplify/ui-react'; import { AmplifyLogo } from './icons'; import { IconChevron } from '@/components/Icons'; import { useCurrentPlatform } from '@/utils/useCurrentPlatform'; +import Link from 'next/link'; export function AmplifyNavLink({ isCollapsed, setIsCollapsed, isGen1 }) { const chevronRotation = isCollapsed ? '0' : '180'; @@ -9,9 +10,8 @@ export function AmplifyNavLink({ isCollapsed, setIsCollapsed, isGen1 }) { return ( - @@ -19,7 +19,7 @@ export function AmplifyNavLink({ isCollapsed, setIsCollapsed, isGen1 }) { Amplify{' '} Docs - +