From b7d9a4e27fc03b4168fae8aeee38f9480fa602a4 Mon Sep 17 00:00:00 2001 From: rbgksqkr Date: Wed, 19 Jun 2024 16:59:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AC=B8=EC=84=9C=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EB=A1=9C=20=EC=9D=B4=EB=8F=99=ED=95=B4=EB=8F=84=20Nav?= =?UTF-8?q?bar=20=EC=9E=85=EB=A0=A5=EA=B0=92=20=EC=9C=A0=EC=A7=80(#120)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useKeywordParams.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useKeywordParams.ts b/src/hooks/useKeywordParams.ts index 25452df..e383fd6 100644 --- a/src/hooks/useKeywordParams.ts +++ b/src/hooks/useKeywordParams.ts @@ -3,7 +3,7 @@ import { useSearchParams } from 'next/navigation'; const useKeywordParams = () => { const params = useSearchParams(); - const searchKeyword = params.get('search') || '멋쟁이사자처럼'; + const searchKeyword = params.get('search') || params.get('title') || '멋쟁이사자처럼'; return { searchKeyword }; };