diff --git a/thaw_utils/src/event_listener.rs b/thaw_utils/src/event_listener.rs index 9b1d1f4..a3ceccb 100644 --- a/thaw_utils/src/event_listener.rs +++ b/thaw_utils/src/event_listener.rs @@ -1,5 +1,9 @@ use ::wasm_bindgen::{prelude::Closure, JsCast}; -use leptos::{ev, tachys::renderer::DomRenderer}; +use leptos::{ + ev, + tachys::{renderer::DomRenderer, view::any_view::AnyView}, +}; +use std::ops::Deref; use web_sys::EventTarget; pub fn add_event_listener(