refactor: remove setBootloaderPortals

This commit is contained in:
Derrick Hammer 2023-07-18 17:18:42 -04:00
parent 4e05659a17
commit 88f563d0d7
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 0 additions and 6 deletions

View File

@ -9,7 +9,6 @@ import {
import { log, logErr, sendAuthUpdate } from "./util.js";
import {
defaultKernelLink,
setBootloaderPortals,
setKernelLoaded,
setLoginComplete,
} from "./vars.js";
@ -55,8 +54,6 @@ export async function loadKernel() {
return;
}
setBootloaderPortals(getActivePortals());
try {
await new Promise(async (resolve, reject) => {
const url = URL.createObjectURL(await readableStreamToBlob(kernelCode));

View File

@ -29,9 +29,6 @@ export function setKernelLoaded(status: string) {
export function getKernelLoaded() {
return kernelLoaded;
}
export function setBootloaderPortals(portals: Client[]) {
window.bootloaderPortals = portals;
}
export function getCommunicationKey() {
if (!communicationKey) {