refactor: remove unused icon components and update dashboard data to use new icons

This commit is contained in:
Ardeman
2025-03-15 22:25:06 +08:00
parent d91dffb013
commit 680a0a88a2
5 changed files with 10 additions and 55 deletions
+6 -7
View File
@@ -1,13 +1,12 @@
import { DoctorIcon } from '~/components/icons/doctor'
import { GraphIcon } from '~/components/icons/graph'
import { ChartBarIcon, ChartPieIcon } from '@heroicons/react/24/solid'
export const REPORT = [
{ title: 'Total User', amount: 10_800, icon: GraphIcon },
{ title: 'Total User Subscribe', amount: 5000, icon: GraphIcon },
{ title: 'Total User', amount: 10_800, icon: ChartBarIcon },
{ title: 'Total User Subscribe', amount: 5000, icon: ChartBarIcon },
{
title: 'Total Nilai Subscribe',
amount: 250_000_000,
icon: GraphIcon,
icon: ChartBarIcon,
currency: 'Rp. ',
},
]
@@ -16,11 +15,11 @@ export const HISTORY = [
{
title: 'Total Content Biasa',
amount: 2890,
icon: GraphIcon,
icon: ChartPieIcon,
},
{
title: 'Total Content Premium',
amount: 274,
icon: DoctorIcon,
icon: ChartPieIcon,
},
]