aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/startupTimings
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-07 23:34:14 +0100
committerVendicated <vendicated@riseup.net>2022-11-07 23:34:14 +0100
commitf7d9be91407582fd85a70eef89c03a32e37c3c0f (patch)
tree6522f99d70491aa7f495c287a53fc02c736517ac /src/plugins/startupTimings
parent955573d31bd1be435b95ddcc24971b47daf02c0b (diff)
downloadVencord-f7d9be91407582fd85a70eef89c03a32e37c3c0f.tar.gz
Vencord-f7d9be91407582fd85a70eef89c03a32e37c3c0f.tar.bz2
Vencord-f7d9be91407582fd85a70eef89c03a32e37c3c0f.zip
lint: Disallow utils index imports
This keeps leading to issues due to circular imports. Import from specific files instead, index just reexports
Diffstat (limited to 'src/plugins/startupTimings')
-rw-r--r--src/plugins/startupTimings/StartupTimingPage.tsx4
-rw-r--r--src/plugins/startupTimings/index.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/startupTimings/StartupTimingPage.tsx b/src/plugins/startupTimings/StartupTimingPage.tsx
index f864138..7d8e86b 100644
--- a/src/plugins/startupTimings/StartupTimingPage.tsx
+++ b/src/plugins/startupTimings/StartupTimingPage.tsx
@@ -18,9 +18,9 @@
import ErrorBoundary from "../../components/ErrorBoundary";
import { Flex } from "../../components/Flex";
-import { lazyWebpack } from "../../utils";
-import { filters } from "../../webpack";
+import { lazyWebpack } from "../../utils/misc";
import { Forms, React } from "../../webpack/common";
+import { filters } from "../../webpack/webpack";
interface AppStartPerformance {
prefix: string;
diff --git a/src/plugins/startupTimings/index.tsx b/src/plugins/startupTimings/index.tsx
index 3f121f7..d5493c1 100644
--- a/src/plugins/startupTimings/index.tsx
+++ b/src/plugins/startupTimings/index.tsx
@@ -17,8 +17,8 @@
*/
-import { LazyComponent } from "../../utils";
import { Devs } from "../../utils/constants";
+import { LazyComponent } from "../../utils/misc";
import definePlugin from "../../utils/types";
export default definePlugin({