File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
client/src/containers/navigation Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ import { Locale } from "@/constants/navigation";
1212
1313import { Link , usePathname } from "@/i18n" ;
1414
15- interface NavigationSidebarItemProps extends LinkProps , PropsWithChildren {
16- className ?: string ;
17- }
15+ type NavigationSidebarItemProps = LinkProps &
16+ PropsWithChildren < {
17+ className ?: string ;
18+ prefetch ?: boolean | undefined ;
19+ } > ;
1820
1921export default function NavigationSidebarItem ( {
2022 children,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ interface TabsNavigationItemProps extends LinkProps, PropsWithChildren {
1919 className ?: string ;
2020 slug : "pcb" | "contextual-risk" | "project-risk" | "follow-up" ;
2121 progress ?: Record < "pcb" | "contextual-risk" | "project-risk" | "follow-up" , number > ;
22+ prefetch ?: boolean | undefined ;
2223}
2324
2425export default function TabsNavigationItem ( {
You can’t perform that action at this time.
0 commit comments