refactor: remove unused icon components and update dashboard data to use new icons
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user