fix: use globalThis

This commit is contained in:
Derrick Hammer 2023-09-11 05:42:29 -04:00
parent 15a43d239b
commit b6142a654d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import { hexToBytes } from "@lumeweb/libweb";
export const activeKey = hexToBytes(
window.localStorage.getItem("key") as string,
globalThis.localStorage.getItem("key") as string,
);