Update import syntax

master
David O'Connor 5 years ago
parent 3140d45549
commit 901d3c6053

@ -1,6 +1,4 @@
#[macro_use] use seed::{*, prelude::*};
extern crate seed;
use seed::prelude::*;
// Model // Model
@ -43,6 +41,6 @@ fn view(model: &Model) -> impl View<Msg> {
#[wasm_bindgen(start)] #[wasm_bindgen(start)]
pub fn render() { pub fn render() {
seed::App::builder(update, view) App::builder(update, view)
.build_and_start(); .build_and_start();
} }
Loading…
Cancel
Save