(fix) show correct spend on ui

This commit is contained in:
Ishaan Jaff 2024-03-29 09:41:00 -07:00
parent 6233351b01
commit 7df2d7cb33
4 changed files with 6 additions and 18 deletions

View file

@ -55,7 +55,7 @@ const ViewUserSpend: React.FC<ViewUserSpendProps> = ({ userID, userSpendData, us
const displayMaxBudget = maxBudget !== null ? `$${maxBudget} limit` : "No limit";
const roundedSpend = spend !== undefined ? spend.toFixed(4) : null;
const roundedSpend = spend !== undefined ? spend.toFixed(5) : null;
return (
<>