refactor: use getAuthStatus

This commit is contained in:
Derrick Hammer 2023-07-19 05:33:03 -04:00
parent a1e39ca7cf
commit 2bd7235929
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export function handleKernelMessage(event: MessageEvent) {
} catch {}
}
if (data.logoutComplete === true) {
if (getAuthStatus().logoutComplete) {
console.log("received logout signal, clearing all ports");
for (let [, port] of Object.entries(getOpenPorts())) {