fix: Cast ItemWrapper to any to fix type error
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled

This commit is contained in:
2025-12-10 20:37:02 +01:00
parent 17f809da5f
commit b6359b4c3e

View File

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