chore: deduplicate imports

This commit is contained in:
Ed L 2022-09-10 20:15:42 +01:00 committed by Paul Makles
parent 5b7ec655eb
commit ef26f67c8e
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,5 @@
import { action, makeAutoObservable, runInAction } from "mobx"; import { action, makeAutoObservable, runInAction } from "mobx";
import { Channel } from "revolt.js"; import { Channel, Nullable, toNullable } from "revolt.js";
import { Nullable, toNullable } from "revolt.js";
import type { ProduceType, VoiceUser } from "./Types"; import type { ProduceType, VoiceUser } from "./Types";
import type VoiceClient from "./VoiceClient"; import type VoiceClient from "./VoiceClient";

View file

@ -1,7 +1,6 @@
import isEqual from "lodash.isequal"; import isEqual from "lodash.isequal";
import { observer } from "mobx-react-lite"; import { observer } from "mobx-react-lite";
import { Channel, API } from "revolt.js"; import { Channel, API, DEFAULT_PERMISSION_DIRECT_MESSAGE } from "revolt.js";
import { DEFAULT_PERMISSION_DIRECT_MESSAGE } from "revolt.js";
import { Text } from "preact-i18n"; import { Text } from "preact-i18n";
import { useState } from "preact/hooks"; import { useState } from "preact/hooks";