From f51678415c0244ba5b650003c68ee48484db995e Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 6 Sep 2024 11:13:55 -0700 Subject: [PATCH] fix ts errors --- frontend/app/store/global.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/app/store/global.ts b/frontend/app/store/global.ts index 9d126abf8..45cdcec6e 100644 --- a/frontend/app/store/global.ts +++ b/frontend/app/store/global.ts @@ -626,6 +626,7 @@ function getConnStatusAtom(conn: string): jotai.PrimitiveAtom { error: null, status: "connected", hasconnected: true, + activeconnnum: 0, }; rtn = jotai.atom(connStatus); } else { @@ -635,6 +636,7 @@ function getConnStatusAtom(conn: string): jotai.PrimitiveAtom { error: null, status: "disconnected", hasconnected: false, + activeconnnum: 0, }; rtn = jotai.atom(connStatus); }