From 4580bef86752681f82f7eea22c240603c1d446a3 Mon Sep 17 00:00:00 2001 From: ryanmio Date: Sat, 26 Aug 2023 16:41:38 -0400 Subject: [PATCH] Update GrowerStatsProfile.js --- src/components/GrowerStatsProfile/GrowerStatsProfile.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/GrowerStatsProfile/GrowerStatsProfile.js b/src/components/GrowerStatsProfile/GrowerStatsProfile.js index 4e1796e8..379a55a9 100644 --- a/src/components/GrowerStatsProfile/GrowerStatsProfile.js +++ b/src/components/GrowerStatsProfile/GrowerStatsProfile.js @@ -57,7 +57,7 @@ const GrowerStatsProfile = () => { - return ( + return (
{user && ( // Conditionally render back button based on user @@ -67,9 +67,7 @@ const GrowerStatsProfile = () => {
{pumpkins && pumpkins.length > 0 && ( -
- -
+ )}
);