mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
fix ts errors
This commit is contained in:
parent
c00749efeb
commit
f51678415c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user