From 1b5ec31a0826e8fbeacd0ca99322b52cdfc23ece Mon Sep 17 00:00:00 2001 From: mazuh Date: Thu, 30 Nov 2023 01:04:42 -0300 Subject: [PATCH] ui for no projects --- .../projects-management/ProjectsManagementPage.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/features/projects-management/ProjectsManagementPage.tsx b/src/features/projects-management/ProjectsManagementPage.tsx index c169415..d4b2718 100644 --- a/src/features/projects-management/ProjectsManagementPage.tsx +++ b/src/features/projects-management/ProjectsManagementPage.tsx @@ -50,6 +50,17 @@ function ProjectsList() { return
Error: {isError.message}
; } + if (projects.length === 0) { + return ( +
+

You don't have any projects yet.

+
+ +
+
+ ); + } + return (