From 04dce9265b0548d755feac81c26dccd82fadc94c Mon Sep 17 00:00:00 2001 From: lostb1t Date: Fri, 21 Feb 2025 14:56:59 +0100 Subject: [PATCH] Update _layout.tsx --- app/(auth)/(tabs)/(home)/_layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(auth)/(tabs)/(home)/_layout.tsx b/app/(auth)/(tabs)/(home)/_layout.tsx index 7589d247..2eefecce 100644 --- a/app/(auth)/(tabs)/(home)/_layout.tsx +++ b/app/(auth)/(tabs)/(home)/_layout.tsx @@ -32,7 +32,7 @@ export default function IndexLayout() { {!Platform.isTV && ( <> - {user.Policy?.IsAdministrator && ( + {user && user.Policy?.IsAdministrator && ( )}