From 1c9641e787f16f4b296de0d52fca96697c3720fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B3=A0=EB=8F=99=EC=98=81?= Date: Tue, 20 Feb 2024 14:26:42 +0900 Subject: [PATCH] =?UTF-8?q?TabLayout=20=20=ED=8C=A8=EB=84=90=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20=EC=98=A4=EB=A5=98=EC=88=98=EC=A0=95=20=EB=B0=8F=20?= =?UTF-8?q?=ED=8C=9D=EC=97=85=20=EB=94=94=EB=B2=84=EA=B9=85=20=EC=BD=98?= =?UTF-8?q?=EC=86=94=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- com.twin.app.shoptime/src/components/TPopUp/TPopUp.jsx | 1 - com.twin.app.shoptime/src/components/TabLayout/TabItemSub.jsx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/com.twin.app.shoptime/src/components/TPopUp/TPopUp.jsx b/com.twin.app.shoptime/src/components/TPopUp/TPopUp.jsx index 8dad7c71..b54773bc 100644 --- a/com.twin.app.shoptime/src/components/TPopUp/TPopUp.jsx +++ b/com.twin.app.shoptime/src/components/TPopUp/TPopUp.jsx @@ -47,7 +47,6 @@ export default function TPopUp({ setSelectedOptionIdx, ...rest }) { - console.log("#className", className); useEffect(() => { if (KINDS.indexOf(kind) < 0) { console.error("TPopUp kind error"); diff --git a/com.twin.app.shoptime/src/components/TabLayout/TabItemSub.jsx b/com.twin.app.shoptime/src/components/TabLayout/TabItemSub.jsx index bf0bdbc3..a4dbe885 100644 --- a/com.twin.app.shoptime/src/components/TabLayout/TabItemSub.jsx +++ b/com.twin.app.shoptime/src/components/TabLayout/TabItemSub.jsx @@ -57,10 +57,10 @@ const TabItemBase = ({ const onKeyDown = useCallback( (event) => { if (event.key === "ArrowRight") { - _onClick(); + onClick({ index, target }); } }, - [deActivateTab] + [deActivateTab, target] ); const ImageComponent = useCallback(() => {