Skip to content

Commit

Permalink
fix(vue3): filter out auto components without props
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed May 30, 2022
1 parent 3aade6d commit 75640e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function mountVariant () {
index,
props: propDefs,
} as AutoPropComponentDefinition
})
}).filter(def => def.props.length)
const snapshot = JSON.stringify(propsTypes)
if (!lastPropsTypesSnapshot || lastPropsTypesSnapshot !== snapshot) {
Expand Down

0 comments on commit 75640e0

Please sign in to comment.