From fed4a6ab8d71914de1c00ad93eb3dccef0adccd6 Mon Sep 17 00:00:00 2001 From: ryanmio Date: Sat, 26 Aug 2023 16:34:50 -0400 Subject: [PATCH 1/4] Update GrowerStatsProfile.js --- src/components/GrowerStatsProfile/GrowerStatsProfile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/GrowerStatsProfile/GrowerStatsProfile.js b/src/components/GrowerStatsProfile/GrowerStatsProfile.js index 379a55a9..4e1796e8 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,7 +67,9 @@ const GrowerStatsProfile = () => {
{pumpkins && pumpkins.length > 0 && ( - +
+ +
)}
); From 98ee8796e318e15083b1326b54cd0f90d2eb0f68 Mon Sep 17 00:00:00 2001 From: ryanmio Date: Sat, 26 Aug 2023 16:36:44 -0400 Subject: [PATCH 2/4] Update error-analytics.js --- src/utilities/error-analytics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utilities/error-analytics.js b/src/utilities/error-analytics.js index c008b2dd..fbd51417 100644 --- a/src/utilities/error-analytics.js +++ b/src/utilities/error-analytics.js @@ -52,6 +52,7 @@ export function trackError(error, method, category = GA_CATEGORIES.SYSTEM, actio label: `${method} - ${error.code || "Unknown error"}: ${error.message || ""}`, dimensions: { 'dimension1': process.env.NODE_ENV // 'development' or 'production' + } }); } From 4580bef86752681f82f7eea22c240603c1d446a3 Mon Sep 17 00:00:00 2001 From: ryanmio Date: Sat, 26 Aug 2023 16:41:38 -0400 Subject: [PATCH 3/4] 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 && ( -
- -
+ )}
); From 6ea19640a4a44361d7f9489e2fadbc7dae4eca02 Mon Sep 17 00:00:00 2001 From: ryanmio Date: Sat, 26 Aug 2023 16:42:05 -0400 Subject: [PATCH 4/4] Update TableSection.js --- src/components/GrowerStatsProfile/TableSection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GrowerStatsProfile/TableSection.js b/src/components/GrowerStatsProfile/TableSection.js index 8866e678..4bc2436f 100644 --- a/src/components/GrowerStatsProfile/TableSection.js +++ b/src/components/GrowerStatsProfile/TableSection.js @@ -15,7 +15,7 @@ const TableSection = ({ data, columns }) => { }, useSortBy); return ( -
+

Weigh-Off History