@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
seed = "^0.3.3"
seed = "^0.3.4"
wasm-bindgen = "^0.2.42"
web-sys = "^0.3.19"
@ -25,11 +25,10 @@ enum Msg {
Increment,
}
fn update(msg: Msg, model: &mut Model) -> Update<Msg> {
fn update(msg: Msg, model: &mut Model, _: &mut Orders<Msg>) {
match msg {
Msg::Increment => model.val += 1,
Render.into()