From 06dd4d3bd93222a7a3515850bc3f2875c2b2fa81 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Wed, 4 Feb 2026 15:04:13 +0100 Subject: [PATCH] refactor: streamline GoalStats layout and improve user guidance for goal tracking --- components/dashboard/GoalStats.tsx | 50 ++++++++++++++---------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/components/dashboard/GoalStats.tsx b/components/dashboard/GoalStats.tsx index f6303aa..291d61c 100644 --- a/components/dashboard/GoalStats.tsx +++ b/components/dashboard/GoalStats.tsx @@ -25,9 +25,9 @@ export default function GoalStats({ goalCounts, siteId, dateRange }: GoalStatsPr -
- {hasData ? ( - list.map((row) => ( + {hasData ? ( +
+ {list.map((row) => (
- )) - ) : ( -
-
-
- -
-

- Need help tracking goals? -

-

- Add pulse.track('event_name') where actions happen on your site, then see counts here. Check our guide for step-by-step instructions. -

- - Read documentation - - -
+ ))} +
+ ) : ( +
+
+
- )} -
+

+ Need help tracking goals? +

+

+ Add pulse.track('event_name') where actions happen on your site, then see counts here. Check our guide for step-by-step instructions. +

+ + Read documentation + + +
+ )}
) }