From e825a4cff8fe9157f5444b03d32d4aff6e7dfba1 Mon Sep 17 00:00:00 2001 From: Juli Ovechkina Date: Tue, 10 Jan 2023 12:13:56 +0300 Subject: [PATCH] fix(Tabs): add caption to media (#106) --- src/blocks/Tabs/Tabs.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/blocks/Tabs/Tabs.tsx b/src/blocks/Tabs/Tabs.tsx index d59c138ac..e22c43d39 100644 --- a/src/blocks/Tabs/Tabs.tsx +++ b/src/blocks/Tabs/Tabs.tsx @@ -96,11 +96,9 @@ export const TabsBlock = ({ {imageProps && ( - {activeTabData?.caption && ( -

{activeTabData.caption}

- )}
)} + {activeTabData?.caption &&

{activeTabData.caption}

} );