diff --git a/src/pages/Transactions.tsx b/src/pages/Transactions.tsx index 6e8a4eb..e4b0cd7 100644 --- a/src/pages/Transactions.tsx +++ b/src/pages/Transactions.tsx @@ -1,4 +1,3 @@ - import React, { useState } from 'react'; import NavBar from '@/components/NavBar'; import TransactionCard, { Transaction } from '@/components/TransactionCard'; @@ -45,7 +44,7 @@ const Transactions = () => { category: 'food', type: 'expense' }]; - + // Filter only expense transactions const expenseTransactions = transactions.filter(t => t.type === 'expense'); @@ -74,7 +73,7 @@ const Transactions = () => { {/* Search */}