From 8c318a13f4d242fa6383abe16aa59e3252d5500d Mon Sep 17 00:00:00 2001 From: David O'Connor Date: Tue, 3 Dec 2019 18:50:28 -0500 Subject: [PATCH] Added new initialize syntax to readme example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } ```