Skip to content

Commit

Permalink
feat: #282 - 토스트 알림 텍스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dudwns committed Jan 3, 2024
1 parent 88f798a commit 48a3be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/common/SearchModal/hooks/useSearchModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const useSearchModal = ({

const onSubmit: SubmitHandler<SearchFormValues> = (data) => {
if (data.search.length === 1) {
notify('info', '검색어는 최대 2글자여야 합니다.')
notify('info', '검색어는 최소 2글자여야 합니다.')
return
}

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useProfileSpacesSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const useProfileSpacesSearch = ({

const onSubmit: SubmitHandler<SearchFormValue> = (data) => {
if (data.keyword.length === 1) {
notify('info', '검색어는 최대 2글자여야 합니다.')
notify('info', '검색어는 최소 2글자여야 합니다.')
return
}
if (category) {
Expand Down

0 comments on commit 48a3be0

Please sign in to comment.