diff --git a/src/components/common/SearchModal/hooks/useSearchModal.ts b/src/components/common/SearchModal/hooks/useSearchModal.ts index d140251a..0d29acfe 100644 --- a/src/components/common/SearchModal/hooks/useSearchModal.ts +++ b/src/components/common/SearchModal/hooks/useSearchModal.ts @@ -45,7 +45,7 @@ const useSearchModal = ({ const onSubmit: SubmitHandler = (data) => { if (data.search.length === 1) { - notify('info', '검색어는 최대 2글자여야 합니다.') + notify('info', '검색어는 최소 2글자여야 합니다.') return } diff --git a/src/hooks/useProfileSpacesSearch.ts b/src/hooks/useProfileSpacesSearch.ts index c9483e10..a5108160 100644 --- a/src/hooks/useProfileSpacesSearch.ts +++ b/src/hooks/useProfileSpacesSearch.ts @@ -20,7 +20,7 @@ const useProfileSpacesSearch = ({ const onSubmit: SubmitHandler = (data) => { if (data.keyword.length === 1) { - notify('info', '검색어는 최대 2글자여야 합니다.') + notify('info', '검색어는 최소 2글자여야 합니다.') return } if (category) {