From 6864045217022af7243eda14b61c4483da17006a Mon Sep 17 00:00:00 2001 From: jarellb <77024293+jarellb@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:50:17 -1000 Subject: [PATCH] Fixed conditional statement for rendering of pageInfoItem.number (#23) --- ui/src/app/(home)/_components/after-login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/(home)/_components/after-login.tsx b/ui/src/app/(home)/_components/after-login.tsx index c1e88862..e4f9e1e0 100644 --- a/ui/src/app/(home)/_components/after-login.tsx +++ b/ui/src/app/(home)/_components/after-login.tsx @@ -108,7 +108,7 @@ const AfterLogin = async () => { width={pageInfoItem.icon.width} height={pageInfoItem.icon.height} className={`mr-5 mb-4 max-w-${pageInfoItem.icon.width} h-auto`}/> - {pageInfoItem.number + {pageInfoItem.number !== null && {pageInfoItem.number}}

{pageInfoItem.title}