From 4063f9be8c8e560f1bb24e6dcc7abfbe88db2d18 Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Wed, 13 Nov 2024 20:49:34 +0100 Subject: [PATCH] fix(ui): remove troublesome return null --- ui/src/pages/organization/organization-layout.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/src/pages/organization/organization-layout.tsx b/ui/src/pages/organization/organization-layout.tsx index 344957d05..45fc832af 100644 --- a/ui/src/pages/organization/organization-layout.tsx +++ b/ui/src/pages/organization/organization-layout.tsx @@ -52,10 +52,6 @@ const OrganizationLayout = () => { } }, [mutate, dispatch]) - if (!org) { - return null - } - return ( <> {isOrgLoading ? : null}