Skip to content

Commit e825a4c

Browse files
author
Juli Ovechkina
authored
fix(Tabs): add caption to media (#106)
1 parent f6a3972 commit e825a4c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/blocks/Tabs/Tabs.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,9 @@ export const TabsBlock = ({
9696
{imageProps && (
9797
<Fragment>
9898
<FullScreenImage {...imageProps} imageClassName={b('image')} />
99-
{activeTabData?.caption && (
100-
<p className={b('caption')}>{activeTabData.caption}</p>
101-
)}
10299
</Fragment>
103100
)}
101+
{activeTabData?.caption && <p className={b('caption')}>{activeTabData.caption}</p>}
104102
</Col>
105103
);
106104

0 commit comments

Comments
 (0)