style: Sort imports

This commit is contained in:
Vendicated 2022-10-22 18:18:41 +02:00
parent a7dbd73547
commit 61fd38d6d9
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
57 changed files with 133 additions and 114 deletions

View file

@ -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());

View file

@ -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";

View file

@ -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;