Remove category spending percentage
Removes the percentage display from the category spending list.
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user