Skip to content

Commit

Permalink
Check if Component has custom key
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekhmet committed Dec 27, 2017
1 parent 2850e62 commit b06d1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function unique () {
const metaCategories = {}

return (h) => {
if (h.key) {
if (h.key && h.key.startsWith('.$')) {
if (keys.has(h.key)) return false
keys.add(h.key)
}
Expand Down

0 comments on commit b06d1df

Please sign in to comment.