From d8dc69ba75f3200e1d53a0dd50457c78decc9832 Mon Sep 17 00:00:00 2001 From: Brent Yi Date: Thu, 12 Oct 2023 23:19:39 +0800 Subject: [PATCH] Fix typescript error --- src/viser/client/src/WebsocketInterface.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viser/client/src/WebsocketInterface.tsx b/src/viser/client/src/WebsocketInterface.tsx index f0e3395f8..5175cf200 100644 --- a/src/viser/client/src/WebsocketInterface.tsx +++ b/src/viser/client/src/WebsocketInterface.tsx @@ -834,7 +834,7 @@ export function WebsocketMessageProducer() { console.log(`Disconnected! ${server} code=${event.code}`); clearTimeout(retryTimeout); viewer.websocketRef.current = null; - viewer.sceneClickEnable.current = 0; + viewer.sceneClickEnable.current = false; viewer.useGui.setState({ websocketConnected: false }); resetGui();