diff --git a/src/features/home/DashboardView.tsx b/src/features/home/DashboardView.tsx index 60db322..2210629 100644 --- a/src/features/home/DashboardView.tsx +++ b/src/features/home/DashboardView.tsx @@ -252,6 +252,7 @@ function IncomeRow({ label, value, dotColor, loading, hidden }: { label: string; function IncomeCard({ month, loading, hidden }: { month?: Analyze; loading: boolean; hidden: boolean }) { const salary = dec(month?.salaryIncome); const support = dec(month?.otherIncome); + const typical = dec(month?.monthlySalary); const income = dec(month?.income); const expense = dec(month?.expense); const saved = income - expense; @@ -265,6 +266,11 @@ function IncomeCard({ month, loading, hidden }: { month?: Analyze; loading: bool
diff --git a/src/features/home/strings.ts b/src/features/home/strings.ts index b714a84..ad7034b 100644 --- a/src/features/home/strings.ts +++ b/src/features/home/strings.ts @@ -24,6 +24,7 @@ export const homeStrings = { // Income card — earned salary vs support, and what's kept. incomeTitle: "Энэ сарын орлого", incomeSalary: "Цалин", + incomeTypical: "сарын дундаж", incomeSupport: "Дэмжлэг ба бусад", incomeSaved: "Хэмнэсэн", incomeSpentOf: "зарцуулсан",