fix: use globalThis
This commit is contained in:
parent
15a43d239b
commit
b6142a654d
|
@ -1,5 +1,5 @@
|
||||||
import { hexToBytes } from "@lumeweb/libweb";
|
import { hexToBytes } from "@lumeweb/libweb";
|
||||||
|
|
||||||
export const activeKey = hexToBytes(
|
export const activeKey = hexToBytes(
|
||||||
window.localStorage.getItem("key") as string,
|
globalThis.localStorage.getItem("key") as string,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue