diff --git a/README.md b/README.md index 5c363fc88..106b807fc 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ fn view(model: &Model) -> impl View { #[wasm_bindgen(start)] pub fn render() { - seed::App::build(|_, _| Init::new(Model::default()), update, view) + App::builder(update, view) .build_and_start(); } ```