Skip to content

Commit

Permalink
Qualify Html return type of component
Browse files Browse the repository at this point in the history
  • Loading branch information
Madoshakalaka committed Jan 27, 2022
1 parent dd490cc commit 99b8dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yew-interop-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ pub fn declare_resources(input: TokenStream) -> TokenStream {
}

#[::yew::function_component(ResourceProvider)]
pub fn resource_provider(props: &ResourceProviderProps) -> Html {
pub fn resource_provider(props: &ResourceProviderProps) -> ::yew::Html {
#(
let #reducer_idents = ::yew::use_reducer(::yew_interop::LinkGroupStatus::default);
)*
Expand Down

0 comments on commit 99b8dc9

Please sign in to comment.