From f19504f8282702bc6945a3d97acbee1a1fbe1b8d Mon Sep 17 00:00:00 2001
From: Ven <vendicated@riseup.net>
Date: Wed, 25 Jan 2023 03:25:29 +0100
Subject: split up webpack commons into categories & type everything (#455)

---
 src/plugins/settings.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/plugins/settings.tsx')

diff --git a/src/plugins/settings.tsx b/src/plugins/settings.tsx
index 36bf525..67d1f8d 100644
--- a/src/plugins/settings.tsx
+++ b/src/plugins/settings.tsx
@@ -22,7 +22,7 @@ import { Devs } from "@utils/constants";
 import Logger from "@utils/Logger";
 import { LazyComponent } from "@utils/misc";
 import definePlugin, { OptionType } from "@utils/types";
-import { Router } from "@webpack/common";
+import { SettingsRouter } from "@webpack/common";
 
 import gitHash from "~git-hash";
 
@@ -69,7 +69,7 @@ export default definePlugin({
     }],
 
     makeSettingsCategories({ ID }: { ID: Record<string, unknown>; }) {
-        const makeOnClick = (tab: string) => () => Router.open(tab);
+        const makeOnClick = (tab: string) => () => SettingsRouter.open(tab);
 
         const cats = [
             {
-- 
cgit 

