We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b475c6a commit 33b2506Copy full SHA for 33b2506
1 file changed
src/frontend/src/components/WarningBanner.tsx
@@ -6,7 +6,7 @@ interface WarningBannerProps {
6
}
7
8
const WarningBanner: React.FC<WarningBannerProps> = ({ amount }) => {
9
- const formattedMessage = `Spending is $${amount} over budget!`;
+ const formattedMessage = `Spending is $${Math.round(amount * 100) / 100} over budget!`;
10
11
return (
12
<Box
0 commit comments