Skip to content

Commit

Permalink
Remove extra console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jul 19, 2024
1 parent f1c9c8b commit 6d02a6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ const getTags = (elt: JSXOpeningElement): string[] | undefined => {
const getIsTemplate = (elt: JSXOpeningElement): boolean => {
const isTemplateAttr = getAttr(elt, 'isTemplate') as JSXSimpleAttribute | undefined;
if (!isTemplateAttr) return false;
console.log({ isTemplateAttr });
const isTemplate = (isTemplateAttr as any).value;
if (isTemplate == null) {
// no value, implicit true
Expand Down

0 comments on commit 6d02a6f

Please sign in to comment.