Skip to content

Commit

Permalink
improve hygiene: use fully qualified into_view
Browse files Browse the repository at this point in the history
  • Loading branch information
blorbb committed Feb 22, 2024
1 parent 00509a0 commit b4fd76a
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions leptos-mview-core/src/expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,18 +295,19 @@ pub fn component_to_tokens<const IS_SLOT: bool>(element: &Element) -> Option<Tok
// the .build() returns `!` if not all props are present.
// this causes unreachable code warning in ::leptos::component_view
#[allow(unreachable_code)]
::leptos::component_view(
&#path,
::leptos::component_props_builder(&#path)
#attrs
#dyn_classes
#selector_ids
#children
#slot_children
#build
#dyn_attrs
::leptos::IntoView::into_view(
::leptos::component_view(
&#path,
::leptos::component_props_builder(&#path)
#attrs
#dyn_classes
#selector_ids
#children
#slot_children
#build
#dyn_attrs
)
)
.into_view()
#(#use_directives)*
#event_listeners
})
Expand Down

0 comments on commit b4fd76a

Please sign in to comment.