Skip to content

Commit

Permalink
Added new initialize syntax to readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
David-OConnor committed Dec 3, 2019
1 parent a750419 commit 8c318a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fn view(model: &Model) -> impl View<Msg> {

#[wasm_bindgen(start)]
pub fn render() {
seed::App::build(|_, _| Init::new(Model::default()), update, view)
App::builder(update, view)
.build_and_start();
}
```
Expand Down

0 comments on commit 8c318a1

Please sign in to comment.