Skip to content

Commit

Permalink
chore(helpers): Update helper import after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
wise-king-sullyman committed Aug 26, 2024
1 parent 2085af4 commit 834c357
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
getAttributeValue,
getExpression,
getChildrenAsAttributeValueText,
getChildElementByName,
getChildJSXElementByName,
isReactIcon,
} from "../../helpers";

Expand Down Expand Up @@ -75,7 +75,7 @@ module.exports = {
}

const iconComponentChild =
hasIconImport && getChildElementByName(node, "Icon");
hasIconImport && getChildJSXElementByName(node, "Icon");

const jsxElementChildren = node.children.filter(
(child) => child.type === "JSXElement"
Expand Down

0 comments on commit 834c357

Please sign in to comment.