diff --git a/src/language-js/embed.js b/src/language-js/embed.js index 57a56a62a55a..eb3e1e9d3666 100644 --- a/src/language-js/embed.js +++ b/src/language-js/embed.js @@ -455,11 +455,11 @@ function isStyledComponents(path) { isStyledIdentifier(tag.callee) || (tag.callee.type === "MemberExpression" && ((tag.callee.object.type === "MemberExpression" && - // styled.foo.attr({})`` + // styled.foo.attrs({})`` (isStyledIdentifier(tag.callee.object.object) || - // Component.extend.attr({)`` + // Component.extend.attrs({})`` isStyledExtend(tag.callee.object))) || - // styled(Component).attr({})`` + // styled(Component).attrs({})`` (tag.callee.object.type === "CallExpression" && isStyledIdentifier(tag.callee.object.callee)))) );