diff --git a/frontend/src/app/components/CategoryTabs.tsx b/frontend/src/app/components/CategoryTabs.tsx index 381fd60a..dca8a8e4 100644 --- a/frontend/src/app/components/CategoryTabs.tsx +++ b/frontend/src/app/components/CategoryTabs.tsx @@ -1,43 +1,45 @@ interface CategoryTabsProps { - activeTab: string; - onTabChange: (tab: string) => void; + activeTab: string + onTabChange: (tab: string) => void } const CategoryTabs = ({ activeTab, onTabChange }: CategoryTabsProps) => { - const categories = [ - { id: 'novel', name: '소설' }, - { id: 'self-development', name: '자기계발서' }, - { id: 'study', name: '공부/자격' }, - { id: 'essay', name: '에세이/일상' }, - { id: 'hobby', name: '실용/취미' }, - { id: 'it', name: 'IT/컴퓨터' }, - ]; + const categories = [ + { id: 'novel', name: '소설' }, + { id: 'self-development', name: '자기개발서' }, + { id: 'study', name: '공부/자격' }, + { id: 'essay', name: '에세이/일상' }, + { id: 'hobby', name: '실용/취미' }, + { id: 'it', name: 'IT/컴퓨터' }, + ] - return ( -