Skip to content

Commit

Permalink
fix: broken keys in head comps
Browse files Browse the repository at this point in the history
  • Loading branch information
moonmeister committed Jul 9, 2020
1 parent 5cac0c0 commit dd6413c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gatsby-plugin-manifest/src/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ exports.onRenderBody = (
if (icon?.endsWith(`.svg`)) {
headComponents.push(
<link
key={`gatsby-plugin-manifest-icon-link-svg`}
rel="icon"
href={withPrefix(
addDigestToPath(`favicon.svg`, cacheDigest, cacheBusting)
Expand All @@ -45,7 +46,7 @@ exports.onRenderBody = (
favicons.forEach(favicon => {
headComponents.push(
<link
key={favicon.src}
key={`gatsby-plugin-manifest-icon-link-png`}
rel="icon"
href={withPrefix(
addDigestToPath(favicon.src, cacheDigest, cacheBusting)
Expand Down

0 comments on commit dd6413c

Please sign in to comment.