Skip to content

Commit

Permalink
fix: column text empty
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Jun 20, 2024
1 parent 97c478e commit facca9b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/components/FooterColumns.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,14 @@ const FooterColumns = ({ footer }) => {
</h4>
{column.showSocial && <Socials />}
{column.newsletterSubscribe && <NewsletterSubscribe />}
<div
dangerouslySetInnerHTML={{
__html: flattenHTMLToAppURL(column.text.data),
}}
/>

{column.text && (
<div
dangerouslySetInnerHTML={{
__html: flattenHTMLToAppURL(column.text.data),
}}
/>
)}
</Grid.Column>
))}
</Grid>
Expand Down

0 comments on commit facca9b

Please sign in to comment.