fix: resolve persistent type inference error in Toolbar component
Some checks failed
Build MIPS Binary / build (push) Failing after 36s
Some checks failed
Build MIPS Binary / build (push) Failing after 36s
This commit is contained in:
@@ -6,7 +6,7 @@ use crate::components::torrent::add_torrent::AddTorrent;
|
||||
pub fn Toolbar(
|
||||
sidenav_state: RwSignal<SidenavState>
|
||||
) -> impl IntoView {
|
||||
view! {
|
||||
let header_view = view! {
|
||||
<header class="h-14 border-b bg-background/95 backdrop-blur-sm flex items-center justify-between px-4 sticky top-0 z-30">
|
||||
<div class="flex items-center gap-4">
|
||||
<SidenavTrigger data_state=sidenav_state />
|
||||
@@ -18,5 +18,7 @@ pub fn Toolbar(
|
||||
<AddTorrent />
|
||||
</div>
|
||||
</header>
|
||||
}.into_any()
|
||||
};
|
||||
|
||||
header_view
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user