We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf623a commit c3b8ce1Copy full SHA for c3b8ce1
packages/jsx-analyzer/src/transformer/babel.ts
@@ -69,6 +69,7 @@ export default function mkTransform(tranformOpts: { rewriter: Rewriter }): () =>
69
},
70
post(state: any) {
71
for (let nodePath of this.statementsToRemove) {
72
+ if (nodePath.removed) continue;
73
nodePath.remove();
74
}
75
if (this.dynamicStylesFound) {
0 commit comments