From 8847a634668211f3753e8e834269de65c046deb2 Mon Sep 17 00:00:00 2001 From: ccwnc Date: Mon, 15 Apr 2024 18:35:24 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20DrawerMenu=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=EB=A5=BC=20=EB=B2=94=EC=9A=A9=EC=A0=81?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=82=AC=EC=9A=A9=ED=95=A0=20=EC=88=98=20?= =?UTF-8?q?=EC=9E=88=EB=8F=84=EB=A1=9D=20=EC=B6=94=EA=B0=80=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/header/DrawerMenu/index.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/header/DrawerMenu/index.tsx b/src/components/header/DrawerMenu/index.tsx index 0bf21b90..6a7590ef 100644 --- a/src/components/header/DrawerMenu/index.tsx +++ b/src/components/header/DrawerMenu/index.tsx @@ -1,8 +1,6 @@ import classNames from 'classnames/bind'; -import { GAME_NAME_LIST_EN, SVGS } from '@/constants/index'; - -import { formatGameToLink } from '@/utils/index'; +import { SVGS } from '@/constants/index'; import styles from './DrawerMenu.module.scss'; @@ -10,10 +8,11 @@ const cx = classNames.bind(styles); const { url, alt } = SVGS.close.active; type DrawerMenuProps = { + menuList: string[]; onClick: () => void; }; -const DrawerMenu = ({ onClick }: DrawerMenuProps) => { +const DrawerMenu = ({ menuList, onClick }: DrawerMenuProps) => { return (