fix ts errors

This commit is contained in:
sawka 2024-09-06 11:13:55 -07:00
parent c00749efeb
commit f51678415c

View File

@ -626,6 +626,7 @@ function getConnStatusAtom(conn: string): jotai.PrimitiveAtom<ConnStatus> {
error: null,
status: "connected",
hasconnected: true,
activeconnnum: 0,
};
rtn = jotai.atom(connStatus);
} else {
@ -635,6 +636,7 @@ function getConnStatusAtom(conn: string): jotai.PrimitiveAtom<ConnStatus> {
error: null,
status: "disconnected",
hasconnected: false,
activeconnnum: 0,
};
rtn = jotai.atom(connStatus);
}