refactor: remove setBootloaderPortals
This commit is contained in:
parent
4e05659a17
commit
88f563d0d7
|
@ -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));
|
||||
|
|
|
@ -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) {
|
||||
|
|
Reference in New Issue