Skip to content

Commit

Permalink
fix: hidration failing for Callout block
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Nov 28, 2024
1 parent da4ef82 commit 77517cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Blocks/Callout/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Edit = (props) => {
/>
</div>
</CalloutTitle>
<CalloutText>
<CalloutText tag="div" className="callout-text">
<TextEditorWidget
{...otherProps}
data={data}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Blocks/Callout/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const View = ({ data, id }) => {
{data.icon && <Icon icon={data.icon} padding={false} aria-hidden />}
<span className="text">{data.title}</span>
</CalloutTitle>
<CalloutText>
<CalloutText tag="div" className="callout-text">
<TextBlockView id={id} data={{ value: data.text }} />
</CalloutText>
</Callout>
Expand Down

0 comments on commit 77517cb

Please sign in to comment.