fix: Cast ItemWrapper to any to fix type error
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user