Skip to content

Commit

Permalink
update api
Browse files Browse the repository at this point in the history
  • Loading branch information
rambip committed Dec 8, 2023
1 parent e872506 commit afddecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl<'a> Context<'a, 'static> for &'a Props {
callback.emit(input)
}

fn call_html_callback<T: 'static>(callback: &Self::HtmlCallback<T>, input: T) -> Self::View {
fn call_html_callback<T: 'static>(self, callback: &Self::HtmlCallback<T>, input: T) -> Self::View {
callback.emit(input)
}

Expand Down

0 comments on commit afddecc

Please sign in to comment.