From 5a01926d890aba8811f400426697df44f6bb346b Mon Sep 17 00:00:00 2001 From: kriptonian1 Date: Sat, 21 Dec 2024 16:58:19 +0530 Subject: [PATCH] fix: conditionally render project creation button based on project state --- apps/platform/src/app/(main)/page.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/platform/src/app/(main)/page.tsx b/apps/platform/src/app/(main)/page.tsx index 9a9cb2ac..62c9c92c 100644 --- a/apps/platform/src/app/(main)/page.tsx +++ b/apps/platform/src/app/(main)/page.tsx @@ -144,10 +144,12 @@ export default function Index(): JSX.Element { - + {isProjectEmpty ? null : ( + + )}
@@ -334,7 +336,9 @@ export default function Index(): JSX.Element {
Create a file and start setting up your environment and secret keys
- +
)}