From f092f434fe48ba0db8b3c0c66524899b5a21c4f1 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 4 Apr 2023 21:09:47 +0200 Subject: Fix Vencord --- src/components/VencordSettings/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/components') diff --git a/src/components/VencordSettings/index.tsx b/src/components/VencordSettings/index.tsx index 0171979..cd6ce60 100644 --- a/src/components/VencordSettings/index.tsx +++ b/src/components/VencordSettings/index.tsx @@ -21,8 +21,7 @@ import "./settingsStyles.css"; import { classNameFactory } from "@api/Styles"; import ErrorBoundary from "@components/ErrorBoundary"; import { handleComponentFailed } from "@components/handleComponentFailed"; -import { findByCodeLazy } from "@webpack"; -import { Forms, SettingsRouter, Text } from "@webpack/common"; +import { Forms, SettingsRouter, TabBar, Text } from "@webpack/common"; import BackupRestoreTab from "./BackupRestoreTab"; import PluginsTab from "./PluginsTab"; @@ -32,8 +31,6 @@ import VencordSettings from "./VencordTab"; const cl = classNameFactory("vc-settings-"); -const TabBar = findByCodeLazy('[role="tab"][aria-disabled="false"]'); - interface SettingsProps { tab: string; } -- cgit