From b6359b4c3ec5686ec0fa3882c50c830f96bd67ba Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Wed, 10 Dec 2025 20:37:02 +0100 Subject: [PATCH] fix: Cast ItemWrapper to any to fix type error --- frontend/src/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx index cb8e9d7..2938ab7 100755 --- a/frontend/src/components/Sidebar.tsx +++ b/frontend/src/components/Sidebar.tsx @@ -257,7 +257,7 @@ export function Sidebar({ collapsed: controlledCollapsed, onCollapsedChange }: S
{manageItems.map((item) => { const isDisabled = item.tycoonOnly && !isTycoon - const ItemWrapper = isDisabled ? 'div' : Link + const ItemWrapper = (isDisabled ? 'div' : Link) as any return (