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/utils | |
parent | a7dbd73547104540218d4699fcf643fca727d2fc (diff) | |
download | Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.gz Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.bz2 Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.zip |
style: Sort imports
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/discord.ts | 3 | ||||
-rw-r--r-- | src/utils/index.ts | 10 | ||||
-rw-r--r-- | src/utils/updater.ts | 3 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/utils/discord.ts b/src/utils/discord.ts index a19dd92..75fb079 100644 --- a/src/utils/discord.ts +++ b/src/utils/discord.ts @@ -17,7 +17,8 @@ */ import { Guild } from "discord-types/general"; -import { ChannelStore, SelectedChannelStore, GuildStore } from "../webpack/common"; + +import { ChannelStore, GuildStore,SelectedChannelStore } from "../webpack/common"; export function getCurrentChannel() { return ChannelStore.getChannel(SelectedChannelStore.getChannelId()); diff --git a/src/utils/index.ts b/src/utils/index.ts index 4313bb4..d818e88 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -17,13 +17,11 @@ */ export * from "./ChangeList"; +export * as Constants from "./constants"; export * from "./debounce"; -export * from "./misc"; -export * from "./proxyLazy"; - +export * as Discord from "./discord"; export { default as IpcEvents } from "./IpcEvents"; export { default as Logger } from "./logger"; - -export * as Constants from "./constants"; -export * as Discord from "./discord"; +export * from "./misc"; export * as Modals from "./modal"; +export * from "./proxyLazy"; diff --git a/src/utils/updater.ts b/src/utils/updater.ts index 4b8f4ba..51739ae 100644 --- a/src/utils/updater.ts +++ b/src/utils/updater.ts @@ -16,10 +16,11 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ +import gitHash from "git-hash"; + import IpcEvents from "./IpcEvents"; import Logger from "./logger"; import { IpcRes } from "./types"; -import gitHash from "git-hash"; export const UpdateLogger = new Logger("Updater", "white"); export let isOutdated = false; |