correct display of budget used

This commit is contained in:
thschleicher 2024-01-02 11:55:49 +01:00 committed by Jakob Stornig
parent 6ee1c01d6a
commit 87640420ec
6 changed files with 14 additions and 24 deletions

View file

@ -5,7 +5,7 @@ import CustomCard from "../common/CustomCard";
export type CategoryItemProps = {
category: string,
color: ColorValue,
allocated_ammount: number,
allocated_amount: number,
total_expenses: number,
category_guid: string,
}
@ -14,7 +14,7 @@ const CategoryItem = (properties: CategoryItemProps) => {
const { colors } = useTheme();
const subText = `${properties.total_expenses} / ${properties.allocated_ammount}`;
const subText = `${properties.total_expenses} / ${properties.allocated_amount}`;
return (
<CustomCard>