From f2f35cd785938d318722f598551fe75770ddddc6 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Wed, 31 Jul 2024 20:59:45 -0400 Subject: [PATCH] chore: fix imports in tests --- leptos_dom/src/helpers.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/leptos_dom/src/helpers.rs b/leptos_dom/src/helpers.rs index 413ffc13a..8936d95a2 100644 --- a/leptos_dom/src/helpers.rs +++ b/leptos_dom/src/helpers.rs @@ -318,7 +318,7 @@ pub fn set_timeout_with_handle( /// listeners to prevent them from firing constantly as you type. /// /// ``` -/// use leptos::{leptos_dom::helpers::debounce, logging::log, *}; +/// use leptos::{leptos_dom::helpers::debounce, logging::log, prelude::*, *}; /// /// #[component] /// fn DebouncedButton() -> impl IntoView { @@ -507,7 +507,10 @@ pub fn window_event_listener_untyped( /// Creates a window event listener from a typed event, returning a /// cancelable handle. /// ``` -/// use leptos::{leptos_dom::helpers::window_event_listener, logging::log, *}; +/// use leptos::{ +/// ev, leptos_dom::helpers::window_event_listener, logging::log, +/// prelude::*, +/// }; /// /// #[component] /// fn App() -> impl IntoView {