chore: lint fixes

This commit is contained in:
Himanshu Kapoor
2022-03-31 22:18:40 +02:00
parent 285f89b5a9
commit 70dc4fc29f
2 changed files with 3 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ export class FloatingMenuView {
}
this.tippy?.setProps({
getReferenceClientRect: this.tippyOptions.getReferenceClientRect || () => posToDOMRect(view, from, to),
getReferenceClientRect: this.tippyOptions?.getReferenceClientRect || (() => posToDOMRect(view, from, to)),
})
this.show()