diff --git a/frontend/src/components/ChannelView.svelte b/frontend/src/components/ChannelView.svelte
index 6a22db9..9091ca1 100644
--- a/frontend/src/components/ChannelView.svelte
+++ b/frontend/src/components/ChannelView.svelte
@@ -2,6 +2,8 @@
import ChannelTopBar from "./ChannelTopBar.svelte";
import MessageInput from "./MessageInput.svelte";
import Messages from "./Messages.svelte";
+ import { quadInOut } from "svelte/easing";
+ import { maybeFly } from "../animations";
export let channel;
@@ -17,7 +19,7 @@
}
-
+
diff --git a/frontend/src/components/PresenceSidebar.svelte b/frontend/src/components/PresenceSidebar.svelte
index 36b990d..c17d3ea 100644
--- a/frontend/src/components/PresenceSidebar.svelte
+++ b/frontend/src/components/PresenceSidebar.svelte
@@ -6,28 +6,17 @@
let pendingExit = false;
- const scheduleClose = () => {
- if ($smallViewport) {
- $showChannelView = false;
- pendingExit = true;
- }
+ const close = () => {
$showPresenceSidebar = false;
};
-
- const outroEnd = () => {
- if (pendingExit) {
- pendingExit = false;
- $showChannelView = true;
- }
- };
-