diff --git a/app/(protected)/_layout.tsx b/app/(protected)/_layout.tsx index e06e97b..9da82f3 100644 --- a/app/(protected)/_layout.tsx +++ b/app/(protected)/_layout.tsx @@ -67,12 +67,12 @@ export default function ProtectedLayout() { tabBarIcon: ({ color, size }) => , }} /> - {/* // TODO: Probably needs to be restricted to admin */} , + href: authState.user?.role === 'Amministratore' ? undefined : null, }} /> {/* TODO: Should be removed - move tabs inside (tabs) and refactor _layout */}