small docs improvement for use_color_mode

This commit is contained in:
Maccesch 2023-12-09 15:20:18 +00:00
parent 72b6f31378
commit cf86471219

View file

@ -21,7 +21,7 @@ use wasm_bindgen::JsCast;
///
/// ```
/// # use leptos::*;
/// use leptos_use::{use_color_mode, UseColorModeReturn};
/// # use leptos_use::{use_color_mode, UseColorModeReturn};
/// #
/// # #[component]
/// # fn Demo() -> impl IntoView {
@ -44,7 +44,7 @@ use wasm_bindgen::JsCast;
///
/// ```
/// # use leptos::*;
/// use leptos_use::{ColorMode, use_color_mode, UseColorModeReturn};
/// # use leptos_use::{ColorMode, use_color_mode, UseColorModeReturn};
/// #
/// # #[component]
/// # fn Demo() -> impl IntoView {