From 64bfa79afc4cf9b815dd76ad6e5505e05a470cf8 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Tue, 12 Jul 2022 11:12:46 +0300 Subject: [PATCH] Don't show patrons section if no patrons --- app/components/layout/Footer.tsx | 37 +++++++++++++++++++------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/app/components/layout/Footer.tsx b/app/components/layout/Footer.tsx index c76e7e030..bc8c05577 100644 --- a/app/components/layout/Footer.tsx +++ b/app/components/layout/Footer.tsx @@ -75,21 +75,28 @@ export function Footer() { -
-

- Thanks to the patrons for the support - -

- -
+ {data.patrons.length > 0 ? ( +
+

+ Thanks to the patrons for the support + +

+ +
+ ) : null} ); }