Fix clippy errors, update deps
Some checks failed
Build Crate / build (push) Failing after 52s

This commit is contained in:
2024-08-18 19:56:00 -04:00
parent ffe6a771d2
commit d29da66536
10 changed files with 27 additions and 16 deletions

View File

@@ -2,14 +2,17 @@ use sycamore::prelude::*;
#[derive(Prop)]
pub struct LayoutProps<'a, G: Html> {
pub title: &'a str,
pub _title: &'a str,
pub children: Children<'a, G>,
}
#[component]
pub fn Layout<'a, G: Html>(
cx: Scope<'a>,
LayoutProps { title: _, children }: LayoutProps<'a, G>,
LayoutProps {
_title: _,
children,
}: LayoutProps<'a, G>,
) -> View<G> {
let children = children.call(cx);