From dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 8 Oct 2022 20:36:57 +0200 Subject: Add more eslint rules --- browser/VencordNativeStub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'browser') 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 -- cgit