Skip to content

Commit

Permalink
fix: modify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jw-r committed Dec 23, 2024
1 parent 20bd684 commit b3a436e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const SelectCategoryDrawer = ({ categories }: Props) => {
)}
>
<Text typography="button4">
{innerCategories.length < 1
{innerCategories.length === 0
? '분야'
: `${CATEGORIES.find((category) => category.id === innerCategories[0])?.name}${
innerCategories.length > 1 ? ` 외 ${innerCategories.length - 1}` : ''
Expand Down

0 comments on commit b3a436e

Please sign in to comment.