clean up imports

This commit is contained in:
hippoz 2022-08-28 21:58:44 +03:00
parent 325583e4d7
commit ee0272b387
No known key found for this signature in database
GPG key ID: 7C52899193467641
4 changed files with 4 additions and 7 deletions

View file

@ -1,6 +1,5 @@
<script> <script>
import { CloudIcon } from "svelte-feather-icons"; import { showSidebar, selectedChannel, smallViewport, showChannelView, theme, showPresenceSidebar } from "../stores";
import { gatewayStatus, showSidebar, selectedChannel, smallViewport, showChannelView, theme, showPresenceSidebar } from "../stores";
import ChannelView from "./ChannelView.svelte"; import ChannelView from "./ChannelView.svelte";
import OverlayProvider from "./overlays/OverlayProvider.svelte"; import OverlayProvider from "./overlays/OverlayProvider.svelte";
import PresenceSidebar from "./PresenceSidebar.svelte"; import PresenceSidebar from "./PresenceSidebar.svelte";

View file

@ -1,5 +1,5 @@
<script> <script>
import { ArrowUpIcon, SendIcon } from "svelte-feather-icons"; import { ArrowUpIcon } from "svelte-feather-icons";
import request from "../request"; import request from "../request";
import { apiRoute } from "../storage"; import { apiRoute } from "../storage";
import { messagesStoreProvider, overlayStore, smallViewport, typingStore, userInfoStore } from "../stores"; import { messagesStoreProvider, overlayStore, smallViewport, typingStore, userInfoStore } from "../stores";

View file

@ -2,9 +2,7 @@
import { ArrowLeftIcon, AtSignIcon } from "svelte-feather-icons"; import { ArrowLeftIcon, AtSignIcon } from "svelte-feather-icons";
import { quadInOut } from "svelte/easing"; import { quadInOut } from "svelte/easing";
import { maybeFly, maybeFlyIf } from "../animations"; import { maybeFly, maybeFlyIf } from "../animations";
import { presenceStore, showChannelView, showPresenceSidebar, smallViewport } from "../stores"; import { presenceStore, showPresenceSidebar, smallViewport } from "../stores";
let pendingExit = false;
const close = () => { const close = () => {
$showPresenceSidebar = false; $showPresenceSidebar = false;

View file

@ -2,7 +2,7 @@
import { HashIcon, PlusIcon, MoreVerticalIcon, SettingsIcon, CloudIcon } from "svelte-feather-icons"; import { HashIcon, PlusIcon, MoreVerticalIcon, SettingsIcon, CloudIcon } from "svelte-feather-icons";
import { quadInOut } from "svelte/easing"; import { quadInOut } from "svelte/easing";
import { maybeFly, maybeFlyIf } from "../animations"; import { maybeFly, maybeFlyIf } from "../animations";
import { channels, gatewayStatus, overlayStore, selectedChannel, showChannelView, showSidebar, smallViewport, userInfoStore } from "../stores"; import { channels, gatewayStatus, overlayStore, selectedChannel, showSidebar, smallViewport, userInfoStore } from "../stores";
import UserTopBar from "./UserTopBar.svelte"; import UserTopBar from "./UserTopBar.svelte";
const selectChannel = (channel) => { const selectChannel = (channel) => {