mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
additional warnings
This commit is contained in:
parent
9fd881603f
commit
6dfea0b0a2
4 changed files with 4 additions and 3 deletions
|
@ -528,7 +528,7 @@ pub(crate) fn attribute_absolute(
|
|||
quote! {
|
||||
::leptos::tachys::html::#key::#key(#value)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if name.contains('-') && !name.starts_with("aria-") {
|
||||
quote! {
|
||||
::leptos::tachys::html::attribute::custom::custom_attribute(#name, #value)
|
||||
|
|
|
@ -288,6 +288,7 @@ pub(crate) fn register<E, At, Ch>(
|
|||
where
|
||||
HtmlElement<E, At, Ch, Dom>: RenderHtml<Dom>,
|
||||
{
|
||||
#[allow(unused_mut)] // used for `ssr`
|
||||
let mut el = Some(el);
|
||||
|
||||
#[cfg(feature = "ssr")]
|
||||
|
|
|
@ -128,7 +128,7 @@ where
|
|||
}
|
||||
*/
|
||||
|
||||
pub struct FlatRoutesViewState<Defs, Fal, R>
|
||||
pub struct FlatRoutesViewState<Defs, Fal, R>
|
||||
where
|
||||
Defs: MatchNestedRoutes<R> + 'static,
|
||||
Fal: Render<R> + 'static,
|
||||
|
|
|
@ -205,7 +205,7 @@ where
|
|||
Some(children) => {
|
||||
let (inner, remaining) = children.match_nested(remaining);
|
||||
let (id, inner) = inner?;
|
||||
(Some(id), Some(inner), remaining)
|
||||
(Some(id), Some(inner), remaining)
|
||||
}
|
||||
};
|
||||
let params = params.into_iter();
|
||||
|
|
Loading…
Reference in a new issue