mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-12 16:13:02 -04:00
Path aliases, better lazyWebpack (#268)
This commit is contained in:
parent
7a4402f142
commit
bad96b7887
138 changed files with 572 additions and 547 deletions
|
@ -16,11 +16,11 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { findByCodeLazy } from "@webpack";
|
||||
import { Forms, Router, Text } from "@webpack/common";
|
||||
|
||||
import cssText from "~fileContent/settingsStyles.css";
|
||||
|
||||
import { lazyWebpack } from "../../utils/misc";
|
||||
import { filters } from "../../webpack";
|
||||
import { Forms, React, Router, Text } from "../../webpack/common";
|
||||
import ErrorBoundary from "../ErrorBoundary";
|
||||
import BackupRestoreTab from "./BackupRestoreTab";
|
||||
import PluginsTab from "./PluginsTab";
|
||||
|
@ -33,7 +33,7 @@ document.head.appendChild(style);
|
|||
|
||||
const st = (style: string) => `vcSettings${style}`;
|
||||
|
||||
const TabBar = lazyWebpack(filters.byCode('[role="tab"][aria-disabled="false"]'));
|
||||
const TabBar = findByCodeLazy('[role="tab"][aria-disabled="false"]');
|
||||
|
||||
interface SettingsProps {
|
||||
tab: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue