From df339ac87f3da9f1a7dec56a8cf6a53c11af24ef Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Wed, 13 Nov 2024 20:47:47 +0100 Subject: [PATCH] fix(ui): remove troublesome return null --- ui/src/pages/workspace/workspace-layout.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/src/pages/workspace/workspace-layout.tsx b/ui/src/pages/workspace/workspace-layout.tsx index 0d76c0e26..7a9c224fc 100644 --- a/ui/src/pages/workspace/workspace-layout.tsx +++ b/ui/src/pages/workspace/workspace-layout.tsx @@ -49,10 +49,6 @@ const WorkspaceLayout = () => { } }, [mutate, dispatch]) - if (!workspace) { - return null - } - return ( <> {isWorkspaceLoading ? : null}