From 48a3be07497fa135d98d4b12923d7f30bfeb7e38 Mon Sep 17 00:00:00 2001 From: Yeongjun Kim Date: Thu, 4 Jan 2024 02:44:39 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20#282=20-=20=ED=86=A0=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=20=EC=95=8C=EB=A6=BC=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/SearchModal/hooks/useSearchModal.ts | 2 +- src/hooks/useProfileSpacesSearch.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {