Updated for 0.2.0

master
DavidOConnor 6 years ago
parent 65f91722eb
commit 033b35ce5a

@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
seed = "^0.1.12"
seed = "^0.2.0"
wasm-bindgen = "^0.2.29"
web-sys = "^0.3.6"

@ -36,7 +36,7 @@ fn update(msg: Msg, model: Model) -> Model {
// View
fn view(app: seed::App<Msg, Model>, model: Model) -> El<Msg> {
fn view(state: seed::App<Msg, Model>, model: Model) -> El<Msg> {
button![
simple_ev("click", Msg::Increment),
format!("Hello, World × {}", model.val)

Loading…
Cancel
Save