From 2fd861d33a6309eee76e82afb211500bb91272f8 Mon Sep 17 00:00:00 2001 From: Frank Pigeon Jr Date: Wed, 30 Oct 2024 16:57:51 -0500 Subject: [PATCH] style: allow for neg values --- frontend/src/components/UI/Cards/BudgetCard/BudgetCard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/UI/Cards/BudgetCard/BudgetCard.jsx b/frontend/src/components/UI/Cards/BudgetCard/BudgetCard.jsx index d12cdd7955..59e21dad65 100644 --- a/frontend/src/components/UI/Cards/BudgetCard/BudgetCard.jsx +++ b/frontend/src/components/UI/Cards/BudgetCard/BudgetCard.jsx @@ -20,7 +20,7 @@ import Tag from "../../Tag"; */ const BudgetCard = ({ title, totalSpending, totalFunding }) => { const overBudget = totalSpending > totalFunding; - const remainingBudget = overBudget ? 0 : totalFunding - totalSpending; + const remainingBudget = totalFunding - totalSpending; const graphData = [ { id: 1,