Skip to content

Commit

Permalink
Fixes vercel/next.js#743 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alicia Lopez committed Jan 16, 2017
1 parent 4e67021 commit 5e9de17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function ({types: t}) {
name.charAt(0) !== name.charAt(0).toUpperCase()
) {
for (const attr of el.attributes) {
if (attr.name === MARKUP_ATTRIBUTE) {
if (attr.name === MARKUP_ATTRIBUTE || attr.name.name === MARKUP_ATTRIBUTE) {
// avoid double attributes
return
}
Expand Down

0 comments on commit 5e9de17

Please sign in to comment.