Skip to content

Commit 9f72f22

Browse files
committed
Use BalanceDisplay for consistency
1 parent 7d38995 commit 9f72f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/balances/BalancesPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ interface BalanceDisplay {
123123
unit: string
124124
}
125125

126-
export function BalanceText({ amount, unit, children }: PropsWithChildren<{ amount: string; unit: string }>) {
126+
export function BalanceText({ amount, unit, children }: PropsWithChildren<BalanceDisplay>) {
127127
return (
128128
<>
129129
<h3 className="scroll-m-20 text-2xl font-extrabold tracking-tight">

0 commit comments

Comments
 (0)