fix: viewer sandbox lint issue
This commit is contained in:
@@ -175,7 +175,7 @@ export default class Sandbox {
|
||||
this.addViewControls()
|
||||
this.properties = await this.viewer.getObjectProperties()
|
||||
})
|
||||
viewer.on(ViewerEvent.ObjectClicked, (selectionEvent: SelectionEvent) => {
|
||||
viewer.on(ViewerEvent.ObjectClicked, (selectionEvent) => {
|
||||
if (selectionEvent && selectionEvent.hits) {
|
||||
const firstHitNode = selectionEvent.hits[0].node
|
||||
if (firstHitNode) {
|
||||
|
||||
Reference in New Issue
Block a user