diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-22 18:18:41 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-22 18:18:41 +0200 |
commit | 61fd38d6d9170a9583c62366a2d4afa40507ce01 (patch) | |
tree | 50132ae08fb39b453bca0dbeeae311e12b2528ed /src/plugins/pronoundb | |
parent | a7dbd73547104540218d4699fcf643fca727d2fc (diff) | |
download | Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.gz Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.bz2 Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.zip |
style: Sort imports
Diffstat (limited to 'src/plugins/pronoundb')
-rw-r--r-- | src/plugins/pronoundb/components/PronounsChatComponent.tsx | 7 | ||||
-rw-r--r-- | src/plugins/pronoundb/components/PronounsProfileWrapper.tsx | 4 | ||||
-rw-r--r-- | src/plugins/pronoundb/utils.ts | 3 |
3 files changed, 8 insertions, 6 deletions
diff --git a/src/plugins/pronoundb/components/PronounsChatComponent.tsx b/src/plugins/pronoundb/components/PronounsChatComponent.tsx index c0b5a90..ec4de98 100644 --- a/src/plugins/pronoundb/components/PronounsChatComponent.tsx +++ b/src/plugins/pronoundb/components/PronounsChatComponent.tsx @@ -17,12 +17,13 @@ */ import { Message } from "discord-types/general"; -import { fetchPronouns, formatPronouns } from "../utils"; + import { classes, lazyWebpack, useAwaiter } from "../../../utils/misc"; -import { PronounMapping } from "../types"; +import { Settings } from "../../../Vencord"; import { filters } from "../../../webpack"; import { UserStore } from "../../../webpack/common"; -import { Settings } from "../../../Vencord"; +import { PronounMapping } from "../types"; +import { fetchPronouns, formatPronouns } from "../utils"; const styles: Record<string, string> = lazyWebpack(filters.byProps(["timestampInline"])); diff --git a/src/plugins/pronoundb/components/PronounsProfileWrapper.tsx b/src/plugins/pronoundb/components/PronounsProfileWrapper.tsx index af2f84b..930d5a7 100644 --- a/src/plugins/pronoundb/components/PronounsProfileWrapper.tsx +++ b/src/plugins/pronoundb/components/PronounsProfileWrapper.tsx @@ -16,10 +16,10 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { UserStore } from "../../../webpack/common"; +import { classes,useAwaiter } from "../../../utils"; import { Settings } from "../../../Vencord"; +import { UserStore } from "../../../webpack/common"; import { PronounMapping, UserProfileProps } from "../types"; -import { useAwaiter, classes } from "../../../utils"; import { fetchPronouns, formatPronouns } from "../utils"; export default function PronounsProfileWrapper(props: UserProfileProps, pronounsComponent: JSX.Element) { diff --git a/src/plugins/pronoundb/utils.ts b/src/plugins/pronoundb/utils.ts index a9828d2..24bc3e2 100644 --- a/src/plugins/pronoundb/utils.ts +++ b/src/plugins/pronoundb/utils.ts @@ -17,9 +17,10 @@ */ import gitHash from "git-hash"; -import { PronounsFormat } from "."; + import { debounce } from "../../utils"; import { Settings } from "../../Vencord"; +import { PronounsFormat } from "."; import { PronounCode, PronounMapping, PronounsResponse } from "./types"; // A map of cached pronouns so the same request isn't sent twice |