Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 6, 2022
1 parent 55b4ab1 commit d6a5bf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default {
return
}
for (const entry of entries) {
if (entry.target?.$_vs_onResize) {
if (entry.target && entry.target.$_vs_onResize) {
const resizeObserverSize = entry.borderBoxSize[0]
entry.target.$_vs_onResize(entry.target.$_vs_id, resizeObserverSize.inlineSize, resizeObserverSize.blockSize)
}
Expand Down

0 comments on commit d6a5bf2

Please sign in to comment.