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,
|
error: null,
|
||||||
status: "connected",
|
status: "connected",
|
||||||
hasconnected: true,
|
hasconnected: true,
|
||||||
|
activeconnnum: 0,
|
||||||
};
|
};
|
||||||
rtn = jotai.atom(connStatus);
|
rtn = jotai.atom(connStatus);
|
||||||
} else {
|
} else {
|
||||||
@ -635,6 +636,7 @@ function getConnStatusAtom(conn: string): jotai.PrimitiveAtom<ConnStatus> {
|
|||||||
error: null,
|
error: null,
|
||||||
status: "disconnected",
|
status: "disconnected",
|
||||||
hasconnected: false,
|
hasconnected: false,
|
||||||
|
activeconnnum: 0,
|
||||||
};
|
};
|
||||||
rtn = jotai.atom(connStatus);
|
rtn = jotai.atom(connStatus);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user