Skip to content

Commit

Permalink
fix: ensuring that all meta tags have a unque key
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed Sep 1, 2021
1 parent 55af575 commit 0eef057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DevSiteSeo.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function DevSiteSeo({ description, meta, title, tags, location }) {

return (
<SEO location={location} title={title}>
{validMetadata.map((data) => (
<meta key={data.name} {...data} />
{validMetadata.map((data, index) => (
<meta key={`${data.name}-${index}`} {...data} />
))}
<script src={withPrefix('tessen.min-1.3.0.js')} type="text/javascript" />
</SEO>
Expand Down

0 comments on commit 0eef057

Please sign in to comment.