From 089e4f0806c4fd68f86edbbe0cd99365c85dd533 Mon Sep 17 00:00:00 2001 From: Kristaps Fabians Geikins Date: Wed, 12 Jun 2024 14:47:08 +0300 Subject: [PATCH] fix: viewer sandbox lint issue --- packages/viewer-sandbox/src/Sandbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/viewer-sandbox/src/Sandbox.ts b/packages/viewer-sandbox/src/Sandbox.ts index 696e3d9f5..7e701ce40 100644 --- a/packages/viewer-sandbox/src/Sandbox.ts +++ b/packages/viewer-sandbox/src/Sandbox.ts @@ -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) {