Skip to content

Commit

Permalink
fix: fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
sashtje committed Oct 10, 2023
1 parent d3071cc commit bf5b78a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/remove-feature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ files.forEach((sourceFile) => {
sourceFile.forEachDescendant((node) => {
if (node.isKind(SyntaxKind.CallExpression) && isToggleFunction(node)) {
replaceToggleFunction(node);
return;
}

if (node.isKind(SyntaxKind.JsxSelfClosingElement) && isToggleComponent(node)) {
Expand Down

0 comments on commit bf5b78a

Please sign in to comment.