Fix: Resolve TypeScript errors
- Import `CloudSync` from `lucide-react` - Define `EXPENSE_CATEGORIES` in `AddTransactionButton.tsx`
This commit is contained in:
@@ -18,6 +18,9 @@ interface ExpenseFormValues {
|
||||
category: string;
|
||||
}
|
||||
|
||||
// Define expense categories
|
||||
const EXPENSE_CATEGORIES = ['식비', '생활비', '교통비'];
|
||||
|
||||
// Define category icons mapping
|
||||
const categoryIcons: Record<string, React.ReactNode> = {
|
||||
식비: <Coffee size={18} />,
|
||||
|
||||
Reference in New Issue
Block a user