From 3e2c76e8a0bf89c9676864ed36ba008349e79176 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 23 Dec 2024 00:30:07 -0500 Subject: [PATCH] Sales chart tweaks --- .../src/components/dashboard/SalesChart.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dashboard/src/components/dashboard/SalesChart.jsx b/dashboard/src/components/dashboard/SalesChart.jsx index ac7cc0f..ef85319 100644 --- a/dashboard/src/components/dashboard/SalesChart.jsx +++ b/dashboard/src/components/dashboard/SalesChart.jsx @@ -449,7 +449,7 @@ const SummaryStats = memo(({ stats = {} }) => { } = stats; return ( -
+
( const SalesChart = ({ timeRange = "last30days", title = "Sales Overview", - description = "Track your sales performance over time", }) => { const [data, setData] = useState([]); const [loading, setLoading] = useState(true); @@ -684,12 +683,12 @@ const SalesChart = ({ {title}
-
+
{!error && ( @@ -759,7 +758,7 @@ const SalesChart = ({ })) } > - Compare Prev Period + Compare Prev
@@ -875,7 +874,7 @@ const SalesChart = ({ {/* Show metric toggles only if not in error state */} {!error && ( -
+
- + +