diff --git a/front/src/Components/App.svelte b/front/src/Components/App.svelte index f9d1c697..e9db2b77 100644 --- a/front/src/Components/App.svelte +++ b/front/src/Components/App.svelte @@ -42,7 +42,7 @@ import AudioManager from "./AudioManager/AudioManager.svelte"; import { showReportScreenStore, userReportEmpty } from "../Stores/ShowReportScreenStore"; import ReportMenu from "./ReportMenu/ReportMenu.svelte"; - import { followStateStore, followStates } from "../Stores/FollowStore"; + import { followStateStore } from "../Stores/FollowStore"; import { peerStore } from "../Stores/PeerStore"; import FollowMenu from "./FollowMenu/FollowMenu.svelte"; @@ -104,7 +104,7 @@ {/if} - {#if $followStateStore !== followStates.off || $peerStore.size > 0} + {#if $followStateStore !== "off" || $peerStore.size > 0}
diff --git a/front/src/Components/FollowMenu/FollowMenu.svelte b/front/src/Components/FollowMenu/FollowMenu.svelte index 6506b1d6..264b27ed 100644 --- a/front/src/Components/FollowMenu/FollowMenu.svelte +++ b/front/src/Components/FollowMenu/FollowMenu.svelte @@ -2,19 +2,10 @@ vim: ft=typescript -->