refactor: replace interface with type for component properties and improve code readability
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { GraphIcon } from '~/components/icons/graph'
|
||||
import { formatNumberWithPeriods } from '~/utils/formatter'
|
||||
|
||||
interface CardReportProperty {
|
||||
type CardReportProperty = {
|
||||
title: string
|
||||
amount: number
|
||||
url?: string
|
||||
|
||||
Reference in New Issue
Block a user