aboutsummaryrefslogtreecommitdiff
path: root/browser/VencordNativeStub.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
committerVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
commitdea34503ef61fe8f2600d2d9b0edb2eec90ebd1b (patch)
treebf4a0037dbecb8b9b00413c59f1af2b434d561e6 /browser/VencordNativeStub.ts
parent0109381a4f5a513a23258130bca06d40fcbc8ea9 (diff)
downloadVencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.gz
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.bz2
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.zip
Add more eslint rules
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