diff --git a/src/components/topbar.rs b/src/components/topbar.rs index 119aa6d1..554e298c 100644 --- a/src/components/topbar.rs +++ b/src/components/topbar.rs @@ -3,7 +3,7 @@ use std::rc::Rc; use crate::icons::{spotify_icon::SpotifyIcon, youtube_icon::YoutubeIcon}; use leptos::{ component, create_effect, create_node_ref, create_rw_signal, create_write_slice, ev::Event, - event_target_value, expect_context, view, CollectView, IntoView, RwSignal, SignalGet, + event_target_value, expect_context, view, window, CollectView, IntoView, RwSignal, SignalGet, SignalGetUntracked, SignalSet, SignalUpdate, }; use leptos_router::use_navigate; @@ -258,10 +258,14 @@ pub fn TopBar() -> impl IntoView { // Prev next buttons
- +
- +