We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36e50bd commit 93c5bfdCopy full SHA for 93c5bfd
1 file changed
plugins/installButton/index.jsx
@@ -345,7 +345,7 @@ export function onUnload() {
345
346
DefaultRouteStore.defaultRoute = "/channels/@me";
347
348
- navigation.addEventListener("navigate", handleNavigate);
+ navigation.removeEventListener("navigate", handleNavigate);
349
350
for (const element of document.querySelectorAll("[data-instbtn]")) {
351
element.removeAttribute("data-instbtn");
0 commit comments