Skip to content

Commit daebac5

Browse files
committed
Improve loading state
1 parent dedf43d commit daebac5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

client/src/screens/Home.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ export function Home() {
5858
})()}
5959
</h1>
6060

61-
<span className="text-muted-foreground text-sm">Total value</span>
61+
<span className="text-muted-foreground min-w-48 text-center text-sm">
62+
Total value
63+
</span>
6264
</div>
6365

6466
<div
@@ -116,7 +118,9 @@ export function Home() {
116118
minute: 'numeric',
117119
})
118120
}}
119-
formatter={(value) => formatCurrency(value as number, currency ?? 'USD')}
121+
formatter={(value) =>
122+
formatCurrency(value as number, currency ?? 'USD')
123+
}
120124
/>
121125
}
122126
/>

0 commit comments

Comments
 (0)