|
|
|
@ -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)
|
|
|
|
|