diff --git a/front_end/Cargo.toml b/front_end/Cargo.toml index 948d964..c1e3726 100644 --- a/front_end/Cargo.toml +++ b/front_end/Cargo.toml @@ -9,4 +9,4 @@ edition = "2021" yew = "0.19" log = "0.4.6" wasm-logger = "0.2.0" -web-sys = { version = "0.3.56", features = ["HtmlParagraphElement"] } +web-sys = { version = "0.3.56", features = ["HtmlDivElement"] } diff --git a/front_end/src/yew_components.rs b/front_end/src/yew_components.rs index ecca473..2dd6308 100644 --- a/front_end/src/yew_components.rs +++ b/front_end/src/yew_components.rs @@ -164,7 +164,7 @@ impl Component for Wrapper { // DEBUG //log::info!("{}", &output_str); if let Some(info_text) = - shared.info_text_ref.cast::() + shared.info_text_ref.cast::() { // create the new text to be appended in the output let window = web_sys::window().expect("no window exists");