From d0f8c18c05c9f885bb8eb69187720cec03a87007 Mon Sep 17 00:00:00 2001 From: JAEMOONLEE Date: Mon, 11 Sep 2023 14:07:45 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20index.tsx=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.tsx b/pages/index.tsx index 832a38c..cbf8990 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -150,7 +150,7 @@ function Home() { if ((clickedChip || '') !== '' && filters.length > 1) { result = filters[0] === option; } else if (filters.length === 1 ) { - result = option === filters?.[0] + result = option === filters[0] } return result; };