Skip to content

Commit

Permalink
Update GrowerStatsProfile.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmio committed Aug 26, 2023
1 parent 98ee879 commit 4580bef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/GrowerStatsProfile/GrowerStatsProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const GrowerStatsProfile = () => {



return (
return (
<div className="min-h-screen flex justify-start flex-col container mx-auto px-4 pt-2 space-y-4">
<div className="mt-3 flex">
{user && ( // Conditionally render back button based on user
Expand All @@ -67,9 +67,7 @@ const GrowerStatsProfile = () => {
<Header data={growerData} />
<SummarySection data={growerData} />
{pumpkins && pumpkins.length > 0 && (
<div className="mb-4">
<TableSection data={pumpkins} columns={pumpkinColumns} />
</div>
<TableSection data={pumpkins} columns={pumpkinColumns} />
)}
</div>
);
Expand Down

0 comments on commit 4580bef

Please sign in to comment.