From d037c90b68820dde09395e976026cd53eb64058a Mon Sep 17 00:00:00 2001 From: Carlos Pavajeau Date: Fri, 17 May 2024 16:39:12 -0500 Subject: [PATCH] refactor: remove conditional rendering for userPreferences in DashboardLayout --- src/app/(dashboard)/dashboard/layout.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/(dashboard)/dashboard/layout.tsx b/src/app/(dashboard)/dashboard/layout.tsx index 39a3d936..3c610261 100644 --- a/src/app/(dashboard)/dashboard/layout.tsx +++ b/src/app/(dashboard)/dashboard/layout.tsx @@ -55,9 +55,7 @@ const DashboardLayout = async ({ children }: DashboardLayoutProps) => {
- {userPreferences !== undefined && ( - - )} +