diff --git a/src/components/MoreMenu.tsx b/src/components/MoreMenu.tsx index cf9f25fb..244b7cef 100644 --- a/src/components/MoreMenu.tsx +++ b/src/components/MoreMenu.tsx @@ -10,10 +10,11 @@ export default function MoreMenu({ buttonClassName, }: { items: { - label: ReactNode, - icon?: ReactNode, - href?: string, - action?: () => Promise | void, + label: ReactNode + icon?: ReactNode + href?: string + prefetch?: boolean + action?: () => Promise | void }[] className?: string buttonClassName?: string @@ -58,7 +59,7 @@ export default function MoreMenu({ 'shadow-lg dark:shadow-xl', )} > - {items.map(({ label, icon, href, action }) => + {items.map(({ label, icon, href, prefetch = false, action }) => {renderItemContent(label, icon)} }