aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/settings.tsx
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2023-01-25 03:25:29 +0100
committerGitHub <noreply@github.com>2023-01-25 03:25:29 +0100
commitf19504f8282702bc6945a3d97acbee1a1fbe1b8d (patch)
tree0a84a831dbd4e3fa040b6b1287db4d309de7c5d9 /src/plugins/settings.tsx
parenta38ac956dfaf53711a4cddea73ae1b8cf617211a (diff)
downloadVencord-f19504f8282702bc6945a3d97acbee1a1fbe1b8d.tar.gz
Vencord-f19504f8282702bc6945a3d97acbee1a1fbe1b8d.tar.bz2
Vencord-f19504f8282702bc6945a3d97acbee1a1fbe1b8d.zip
split up webpack commons into categories & type everything (#455)
Diffstat (limited to 'src/plugins/settings.tsx')
-rw-r--r--src/plugins/settings.tsx4
1 files changed, 2 insertions, 2 deletions
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 = [
{