Skip to content

Commit 171a517

Browse files
committed
Nextjs update 14.2.32. Fix LinkProps
1 parent cc24c30 commit 171a517

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

client/src/containers/navigation/sidebar/item.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ import { Locale } from "@/constants/navigation";
1212

1313
import { 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

1921
export default function NavigationSidebarItem({
2022
children,

client/src/containers/navigation/tabs/item.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

2425
export default function TabsNavigationItem({

0 commit comments

Comments
 (0)