We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb9883 commit 5298be4Copy full SHA for 5298be4
src/resolveStringLiteral.js
@@ -33,7 +33,7 @@ export default (
33
return typeof attribute.name !== 'undefined' && attribute.name.name === destinationName;
34
});
35
36
- if (destinationAttribute) {
+ if (destinationAttribute && sourceAttribute.name.name != destinationName) {
37
if (isStringLiteral(destinationAttribute.value)) {
38
destinationAttribute.value.value += ' ' + resolvedStyleName;
39
} else if (isJSXExpressionContainer(destinationAttribute.value)) {
0 commit comments