diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-28 13:58:14 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-28 13:59:53 +0100 |
commit | a0a1a4d139b6408419cd564611c26bd0dbade145 (patch) | |
tree | fec1171f5208c500843412cdcc87dcd9da9de538 /src/components/PluginSettings | |
parent | bad96b78879f296d5b9e7adacb03756b0f58427a (diff) | |
download | Vencord-a0a1a4d139b6408419cd564611c26bd0dbade145.tar.gz Vencord-a0a1a4d139b6408419cd564611c26bd0dbade145.tar.bz2 Vencord-a0a1a4d139b6408419cd564611c26bd0dbade145.zip |
enforce path aliases with eslint
Diffstat (limited to 'src/components/PluginSettings')
-rw-r--r-- | src/components/PluginSettings/PluginModal.tsx | 4 | ||||
-rw-r--r-- | src/components/PluginSettings/index.tsx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/components/PluginSettings/PluginModal.tsx b/src/components/PluginSettings/PluginModal.tsx index 275d370..d191667 100644 --- a/src/components/PluginSettings/PluginModal.tsx +++ b/src/components/PluginSettings/PluginModal.tsx @@ -18,6 +18,8 @@ import { generateId } from "@api/Commands"; import { useSettings } from "@api/settings"; +import ErrorBoundary from "@components/ErrorBoundary"; +import { Flex } from "@components/Flex"; import { LazyComponent } from "@utils/misc"; import { ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal"; import { proxyLazy } from "@utils/proxyLazy"; @@ -27,8 +29,6 @@ import { Button, FluxDispatcher, Forms, React, Text, Tooltip, UserStore, UserUti import { User } from "discord-types/general"; import { Constructor } from "type-fest"; -import ErrorBoundary from "../ErrorBoundary"; -import { Flex } from "../Flex"; import { ISettingElementProps, SettingBooleanComponent, diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 495a509..5ee9cc9 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -18,6 +18,10 @@ import { showNotice } from "@api/Notices"; import { Settings, useSettings } from "@api/settings"; +import ErrorBoundary from "@components/ErrorBoundary"; +import { ErrorCard } from "@components/ErrorCard"; +import { Flex } from "@components/Flex"; +import { handleComponentFailed } from "@components/handleComponentFailed"; import { ChangeList } from "@utils/ChangeList"; import Logger from "@utils/Logger"; import { classes, LazyComponent } from "@utils/misc"; @@ -29,10 +33,6 @@ import { Alerts, Button, Forms, Margins, Parser, React, Select, Switch, Text, Te import Plugins from "~plugins"; import { startDependenciesRecursive, startPlugin, stopPlugin } from "../../plugins"; -import ErrorBoundary from "../ErrorBoundary"; -import { ErrorCard } from "../ErrorCard"; -import { Flex } from "../Flex"; -import { handleComponentFailed } from "../handleComponentFailed"; import PluginModal from "./PluginModal"; import * as styles from "./styles"; |