From ab9f77e770d1071840705cd88419106e3687ca94 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 1 Sep 2022 23:11:12 +0200 Subject: Fix messageActions --- src/plugins/messageActions.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/messageActions.ts b/src/plugins/messageActions.ts index 961be12..10969f9 100644 --- a/src/plugins/messageActions.ts +++ b/src/plugins/messageActions.ts @@ -18,7 +18,6 @@ export default definePlugin({ const { Permissions: { MANAGE_MESSAGES } } = find(m => m.Permissions?.MANAGE_MESSAGES); const { getCurrentUser } = findByProps("getCurrentUser"); - let isDeletePressed = false; document.addEventListener("keydown", keydown); document.addEventListener("keyup", keyup); -- cgit