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
+2 -4
View File
@@ -1,4 +1,4 @@
import type { JSX } from 'react'
import type { ComponentType, SVGProps } from 'react'
import { formatNumberWithPeriods } from '~/utils/formatter'
@@ -6,9 +6,7 @@ type CardReportProperty = {
title: string
amount: number
currency?: string
icon: (
properties: React.JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>,
) => JSX.Element
icon: ComponentType<SVGProps<SVGSVGElement>>
url?: string
}