From ee188e365d6618490f0c98cc5b659dac4d76bf25 Mon Sep 17 00:00:00 2001 From: cje Date: Thu, 28 Dec 2023 23:44:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=84=ED=99=9C=EC=84=B1=ED=99=94=20?= =?UTF-8?q?=ED=83=AD=EC=97=90=20=ED=95=B4=EB=8B=B9=20=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EC=BB=A8=ED=85=90=EC=B8=A0=EA=B0=80=20=EB=B9=88=20div=EB=A5=BC?= =?UTF-8?q?=20=EB=B0=98=ED=99=98=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Tabs/Tabs.stories.tsx | 8 ++++++-- src/components/Tabs/TabsContent.tsx | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/Tabs/Tabs.stories.tsx b/src/components/Tabs/Tabs.stories.tsx index 660b7114..ae0acc04 100644 --- a/src/components/Tabs/Tabs.stories.tsx +++ b/src/components/Tabs/Tabs.stories.tsx @@ -46,8 +46,12 @@ export const Basic: Story = { 끄적이는 참고하는 - 끄적이는 내용 - 참고하는 내용 + +
끄적이는 내용
+
+ +
참고하는 내용
+
), }; diff --git a/src/components/Tabs/TabsContent.tsx b/src/components/Tabs/TabsContent.tsx index 4f825117..1dac56a0 100644 --- a/src/components/Tabs/TabsContent.tsx +++ b/src/components/Tabs/TabsContent.tsx @@ -12,7 +12,7 @@ const TabsContent = ({ }: PropsWithChildren) => { const { selectedTab } = useTabsContext(); - return
{selectedTab === value ? children : null}
; + return <>{selectedTab === value ? children : null}; }; export default TabsContent;