Skip to content

Commit

Permalink
fix(vue3): isFragment: subTree null
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jul 4, 2022
1 parent 0a41fa3 commit b35da4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-backend-vue3/src/components/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function getAppRecord (instance) {
export function isFragment (instance) {
const appRecord = getAppRecord(instance)
if (appRecord) {
return appRecord.options.types.Fragment === instance.subTree.type
return appRecord.options.types.Fragment === instance.subTree?.type
}
}

Expand Down

0 comments on commit b35da4c

Please sign in to comment.