Skip to content

Commit

Permalink
fix: do not use fragments inside of the Helmet component
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Mar 3, 2020
1 parent 9e63ff1 commit 85aaebe
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/app-page-builder/src/site/plugins/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,8 @@ export default [
sizes="16x16"
/>

{name && (
<>
<meta name="title" content={name} />
<meta property="og:title" content={name} />
</>
)}
{name && <meta name="title" content={name} />}
{name && <meta property="og:title" content={name} />}

{social?.image?.src && (
<meta property="og:image" content={social.image.src} />
Expand Down

0 comments on commit 85aaebe

Please sign in to comment.