From bed584f7345a7a66ea55b560ca3abff23575a810 Mon Sep 17 00:00:00 2001 From: chsua Date: Wed, 12 Jul 2023 11:26:33 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20(#15)=20=EC=9B=B9=EC=A0=91=EA=B7=BC?= =?UTF-8?q?=EC=84=B1=20=ED=96=A5=EC=83=81=EC=9D=84=20=EC=9C=84=ED=95=9C=20?= =?UTF-8?q?aria-label,=20alt=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/common/AddButton/index.tsx | 2 +- frontend/src/components/common/IconButton/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/common/AddButton/index.tsx b/frontend/src/components/common/AddButton/index.tsx index 2bac5cbcb..bf9a99ee7 100644 --- a/frontend/src/components/common/AddButton/index.tsx +++ b/frontend/src/components/common/AddButton/index.tsx @@ -10,7 +10,7 @@ interface AddButtonProps { */ export default function AddButton({ size, clickEvent }: AddButtonProps) { return ( - + + ); diff --git a/frontend/src/components/common/IconButton/index.tsx b/frontend/src/components/common/IconButton/index.tsx index b92e2f11a..1895cd443 100644 --- a/frontend/src/components/common/IconButton/index.tsx +++ b/frontend/src/components/common/IconButton/index.tsx @@ -33,8 +33,8 @@ export default function IconButton({ category, clickEvent }: IconButtonProps) { const ariaLabelText = iconCategory[category].name; return ( - - {`${category}-button`} + + {`${ariaLabelText}-icon`} ); }