“Error ‘Something Went Wrong’ When Selecting Any Value from Category Dropdown in Dashboard > Monthly Expense Card” #503

Closed
kartik.sharma wants to merge 1 commits from Kartik_Bug#1666 into Issues_Expense_2W

View File

@ -35,7 +35,7 @@ const ExpenseByProject = () => {
const getSelectedTypeName = () => { const getSelectedTypeName = () => {
if (!selectedType) return "All Types"; if (!selectedType) return "All Types";
const found = ExpenseTypes.find((t) => t.id === selectedType); const found = ExpenseCategories.find((t) => t.id === selectedType);
return found ? found.name : "All Types"; return found ? found.name : "All Types";
}; };