File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { usePathname } from 'next/navigation';
55import { useTranslations , type RichTranslationValues } from 'next-intl' ;
66import type { FC } from 'react' ;
77
8+ import Link from '@/components/Link' ;
89import { useSiteNavigation } from '@/hooks/server' ;
910import { useRouter } from '@/navigation.mjs' ;
1011import type { NavigationKeys } from '@/types' ;
@@ -37,6 +38,7 @@ const WithProgressionSidebar: FC<WithProgressionSidebarProps> = ({
3738 pathname = { pathname ! }
3839 title = { t ( 'components.common.sidebar.title' ) }
3940 onSelect = { push }
41+ as = { Link }
4042 />
4143 ) ;
4244} ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { usePathname } from 'next/navigation';
55import { useTranslations , type RichTranslationValues } from 'next-intl' ;
66import type { FC } from 'react' ;
77
8+ import Link from '@/components/Link' ;
89import { useSiteNavigation } from '@/hooks/server' ;
910import { useRouter } from '@/navigation.mjs' ;
1011import type { NavigationKeys } from '@/types' ;
@@ -33,6 +34,7 @@ const WithSidebar: FC<WithSidebarProps> = ({ navKeys, context }) => {
3334 pathname = { pathname }
3435 title = { t ( 'components.common.sidebar.title' ) }
3536 onSelect = { value => push ( value ) }
37+ as = { Link }
3638 />
3739 ) ;
3840} ;
You can’t perform that action at this time.
0 commit comments