fixed tests

This commit is contained in:
Maccesch 2024-07-27 19:25:31 +01:00
parent 2fe13f9540
commit c674b45635

View file

@ -29,14 +29,14 @@ use leptos::*;
///
/// view! {
/// <Show
/// when=is_supported
/// when=move || is_supported.get()
/// fallback=move || view! { <p>Your browser does not support Clipboard API</p> }
/// >
/// <button on:click={
/// let copy = copy.clone();
/// move |_| copy("Hello!")
/// }>
/// <Show when=copied fallback=move || "Copy">
/// <Show when=move || copied.get() fallback=move || "Copy">
/// "Copied!"
/// </Show>
/// </button>