-
Analytics Dashboard
+
+ Analytics Dashboard
+
Overview of your store's performance and metrics.
@@ -197,7 +227,9 @@ export default function AnalyticsDashboard({ initialData }: AnalyticsDashboardPr
disabled={isLoading}
className="flex items-center gap-2"
>
-
+
Refresh
@@ -205,15 +237,11 @@ export default function AnalyticsDashboard({ initialData }: AnalyticsDashboardPr
{/* Key Metrics Cards */}
- {isLoading ? (
- [...Array(4)].map((_, i) => (
-
- ))
- ) : (
- metrics.map((metric) => (
-
- ))
- )}
+ {isLoading
+ ? [...Array(4)].map((_, i) => )
+ : metrics.map((metric) => (
+
+ ))}
{/* Completion Rate Card */}
@@ -243,14 +271,20 @@ export default function AnalyticsDashboard({ initialData }: AnalyticsDashboardPr
Time Period
- Revenue, Profit, and Orders tabs use time filtering. Products and Customers show all-time data.
+ Revenue, Profit, and Orders tabs use time filtering. Products and
+ Customers show all-time data.