diff --git a/src/components/PatchHelper.tsx b/src/components/PatchHelper.tsx index cb60980..6524528 100644 --- a/src/components/PatchHelper.tsx +++ b/src/components/PatchHelper.tsx @@ -17,10 +17,11 @@ */ import { debounce } from "@utils/debounce"; +import { Margins } from "@utils/margins"; import { makeCodeblock } from "@utils/misc"; import { canonicalizeMatch, canonicalizeReplace, ReplaceFn } from "@utils/patches"; import { search } from "@webpack"; -import { Button, Clipboard, Forms, Margins, Parser, React, Switch, Text, TextInput } from "@webpack/common"; +import { Button, Clipboard, Forms, Parser, React, Switch, Text, TextInput } from "@webpack/common"; import { CheckedTextInput } from "./CheckedTextInput"; import ErrorBoundary from "./ErrorBoundary"; @@ -128,7 +129,7 @@ function ReplacementComponent({ module, match, replacement, setReplacementError )} {!!diff?.length && ( - diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 4e64eb8..3d69a60 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -30,11 +30,12 @@ import PluginModal from "@components/PluginSettings/PluginModal"; import { Switch } from "@components/Switch"; import { ChangeList } from "@utils/ChangeList"; import Logger from "@utils/Logger"; +import { Margins } from "@utils/margins"; import { classes, LazyComponent, useAwaiter } from "@utils/misc"; import { openModalLazy } from "@utils/modal"; import { Plugin } from "@utils/types"; import { findByCode, findByPropsLazy } from "@webpack"; -import { Alerts, Button, Card, Forms, Margins, Parser, React, Select, Text, TextInput, Toasts, Tooltip } from "@webpack/common"; +import { Alerts, Button, Card, Forms, Parser, React, Select, Text, TextInput, Toasts, Tooltip } from "@webpack/common"; import Plugins from "~plugins"; @@ -296,15 +297,15 @@ export default ErrorBoundary.wrap(function PluginSettings() { } return ( - + - + Filters
- +