From 6201d1fa9a8253a335b3c1a724e71ecef2cd7bb8 Mon Sep 17 00:00:00 2001 From: ywlee Date: Sun, 1 Oct 2023 01:20:17 +0900 Subject: [PATCH] build error fix --- pages/index.tsx | 1 + pages/room/add/step2.tsx | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index f472c34..b688c75 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -38,6 +38,7 @@ function Home() { const makeFilters = (filterParams: FilterType) => { const resultFilter: string[] = []; Object.keys(filterParams).forEach((key) => { + // eslint-disable-next-line no-unused-expressions filterParams[`${key}`] && resultFilter.push(commonTranslation.t(`${key}`)); }); setFilters(() => [...resultFilter]); diff --git a/pages/room/add/step2.tsx b/pages/room/add/step2.tsx index 3c5aa63..bf3de60 100644 --- a/pages/room/add/step2.tsx +++ b/pages/room/add/step2.tsx @@ -3,9 +3,8 @@ import React from 'react'; function Step2() { const router = useRouter(); - const { query } = router; - const data = JSON.parse(query.data as string); - console.log('%c 🤩🤩🤩 영우의 로그 : ', 'font-size: x-large; color: #bada55;', data); + // const { query } = router; + // const data = JSON.parse(query.data as string); return
step2
; }