aboutsummaryrefslogtreecommitdiff
path: root/browser/VencordNativeStub.ts
diff options
context:
space:
mode:
Diffstat (limited to 'browser/VencordNativeStub.ts')
-rw-r--r--browser/VencordNativeStub.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/VencordNativeStub.ts b/browser/VencordNativeStub.ts
index bdcae4e..b6d1121 100644
--- a/browser/VencordNativeStub.ts
+++ b/browser/VencordNativeStub.ts
@@ -1,7 +1,7 @@
import IpcEvents from "../src/utils/IpcEvents";
// Discord deletes this so need to store in variable
-var localStorage = window.localStorage;
+var { localStorage } = window;
const handlers = {
[IpcEvents.GET_REPO]: () => "", // TODO