Refactor admin analytics stat cards to reusable component
Extracted repeated stat card logic in AdminAnalytics to a new AdminStatCard component and moved the trend indicator to its own file. Updated AdminAnalytics to use AdminStatCard for orders, revenue, vendors, and products, improving code maintainability and consistency. Also updated chart and loading skeleton handling for better UX.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"commitHash": "4c15f43",
|
||||
"buildTime": "2026-01-13T05:27:43.269Z"
|
||||
"commitHash": "a07ca55",
|
||||
"buildTime": "2026-01-13T05:50:49.436Z"
|
||||
}
|
||||
Reference in New Issue
Block a user