Remove category spending percentage

Removes the percentage display from the category spending list.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 12:58:46 +00:00
parent fdadbb06cc
commit 3a0c7d1c61

View File

@@ -53,9 +53,7 @@ const CategorySpendingList: React.FC<CategorySpendingListProps> = ({
<p className="font-medium text-sm"> <p className="font-medium text-sm">
{formatCurrency(category.current)} {formatCurrency(category.current)}
</p> </p>
<p className="text-xs text-gray-500"> {/* 퍼센트 표시 제거 */}
{totalExpense > 0 ? Math.round(category.current / totalExpense * 100) : 0}%
</p>
</div> </div>
</div> </div>
); );