Skip to content

Commit 8f077ab

Browse files
authored
fix: hydration tab caption (#1188)
1 parent 06e9399 commit 8f077ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blocks/Tabs/TabContent/TabContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ export const TabContent = ({
132132
</React.Fragment>
133133
)}
134134
{tabData.caption && (
135-
<p className={b('caption')} id={captionId}>
135+
<div className={b('caption')} id={captionId}>
136136
<YFMWrapper
137137
content={tabData.caption}
138138
modifiers={{constructor: true}}
139139
id={captionId}
140140
/>
141-
</p>
141+
</div>
142142
)}
143143
</Col>
144144
);

0 commit comments

Comments
 (0)