fix formatting

This commit is contained in:
Evan Almloff 2024-01-03 15:35:24 -06:00
parent 2e424436b3
commit 422df68fea
2 changed files with 5 additions and 2 deletions

View file

@ -15,7 +15,7 @@ use serde::{de::DeserializeOwned, Serialize};
/// let state1 = use_state(cx, || server_cached(|| {
/// 1234
/// }));
///
///
/// todo!()
/// }
/// ```

View file

@ -148,7 +148,10 @@ impl_event! {
/// ondoubleclick
#[inline]
pub fn ondoubleclick<'a, E: crate::EventReturn<T>, T>(_cx: &'a ::dioxus_core::ScopeState, mut _f: impl FnMut(::dioxus_core::Event<MouseData>) -> E + 'a) -> ::dioxus_core::Attribute<'a> {
pub fn ondoubleclick<'a, E: crate::EventReturn<T>, T>(
_cx: &'a ::dioxus_core::ScopeState,
mut _f: impl FnMut(::dioxus_core::Event<MouseData>) -> E + 'a,
) -> ::dioxus_core::Attribute<'a> {
::dioxus_core::Attribute::new(
"ondblclick",
_cx.listener(move |e: ::dioxus_core::Event<MouseData>| {