fix: Cast ItemWrapper to any to fix type error

This commit is contained in:
2025-12-10 20:37:02 +01:00
parent 683fe45aff
commit 9e668540f8

View File

@ -257,7 +257,7 @@ export function Sidebar({ collapsed: controlledCollapsed, onCollapsedChange }: S
<div className="space-y-1.5">
{manageItems.map((item) => {
const isDisabled = item.tycoonOnly && !isTycoon
const ItemWrapper = isDisabled ? 'div' : Link
const ItemWrapper = (isDisabled ? 'div' : Link) as any
return (
<ItemWrapper