From cf864712191a265710080fe2bac4e6990b3064cb Mon Sep 17 00:00:00 2001 From: Maccesch Date: Sat, 9 Dec 2023 15:20:18 +0000 Subject: [PATCH] small docs improvement for use_color_mode --- src/use_color_mode.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/use_color_mode.rs b/src/use_color_mode.rs index 5f2b781..d2dcec4 100644 --- a/src/use_color_mode.rs +++ b/src/use_color_mode.rs @@ -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 {