diff --git a/src/components/expenses/ExpenseFormFields.tsx b/src/components/expenses/ExpenseFormFields.tsx index 8464bb7..7a3e396 100644 --- a/src/components/expenses/ExpenseFormFields.tsx +++ b/src/components/expenses/ExpenseFormFields.tsx @@ -48,10 +48,9 @@ const ExpenseFormFields: React.FC = ({ /> {/* 카테고리별 제목 제안 - 카테고리 선택 후에만 표시 */} - {selectedCategory && ( + {selectedCategory && showTitleSuggestions && ( )} diff --git a/src/components/expenses/ExpenseTitleSuggestions.tsx b/src/components/expenses/ExpenseTitleSuggestions.tsx index 19af75c..8c45b0c 100644 --- a/src/components/expenses/ExpenseTitleSuggestions.tsx +++ b/src/components/expenses/ExpenseTitleSuggestions.tsx @@ -5,13 +5,11 @@ import { getPersonalizedTitleSuggestions } from '@/utils/userTitlePreferences'; interface ExpenseTitleSuggestionsProps { category: string; - showSuggestions: boolean; onSuggestionClick: (suggestion: string) => void; } const ExpenseTitleSuggestions: React.FC = ({ category, - showSuggestions, onSuggestionClick }) => { const titleSuggestions = getPersonalizedTitleSuggestions(category);