Rename categories

Rename "식비" to "음식" and "생활비" to "쇼핑".
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 10:02:05 +00:00
parent 00d8d7f923
commit d6e6c00ea9
6 changed files with 37 additions and 19 deletions

View File

@@ -1,3 +1,4 @@
import React from 'react';
import { Input } from '@/components/ui/input';
import { EXPENSE_CATEGORIES, categoryIcons } from '@/constants/categoryIcons';

View File

@@ -10,7 +10,7 @@ import { categoryIcons, EXPENSE_CATEGORIES } from '@/constants/categoryIcons';
export const transactionFormSchema = z.object({
title: z.string().min(1, '제목을 입력해주세요'),
amount: z.string().min(1, '금액을 입력해주세요'),
category: z.enum(['식', '생활비', '교통비']),
category: z.enum(['식', '쇼핑', '교통비']),
});
export type TransactionFormValues = z.infer<typeof transactionFormSchema>;