mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-02-02 10:54:15 -05:00
fix compilation error due to partial path diagnostics
This commit is contained in:
parent
041bc72254
commit
ee1d9c7a0d
1 changed files with 14 additions and 15 deletions
|
@ -369,7 +369,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let zone = diagnostics::SpecialNonReactiveZone::enter();
|
let zone = leptos::reactive_graph::diagnostics::SpecialNonReactiveZone::enter();
|
||||||
|
|
||||||
on_open(e);
|
on_open(e);
|
||||||
|
|
||||||
|
@ -410,7 +410,7 @@ where
|
||||||
let txt = String::from(&txt);
|
let txt = String::from(&txt);
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let zone = diagnostics::SpecialNonReactiveZone::enter();
|
let zone = leptos::reactive_graph::diagnostics::SpecialNonReactiveZone::enter();
|
||||||
|
|
||||||
on_message_raw(&txt);
|
on_message_raw(&txt);
|
||||||
|
|
||||||
|
@ -420,8 +420,7 @@ where
|
||||||
match C::decode_str(&txt) {
|
match C::decode_str(&txt) {
|
||||||
Ok(val) => {
|
Ok(val) => {
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let prev =
|
let prev = leptos::reactive_graph::diagnostics::SpecialNonReactiveZone::enter();
|
||||||
diagnostics::SpecialNonReactiveZone::enter();
|
|
||||||
|
|
||||||
on_message(&val);
|
on_message(&val);
|
||||||
|
|
||||||
|
@ -442,7 +441,7 @@ where
|
||||||
let array = array.to_vec();
|
let array = array.to_vec();
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let zone = diagnostics::SpecialNonReactiveZone::enter();
|
let zone = leptos::reactive_graph::diagnostics::SpecialNonReactiveZone::enter();
|
||||||
|
|
||||||
on_message_raw_bytes(&array);
|
on_message_raw_bytes(&array);
|
||||||
|
|
||||||
|
@ -452,7 +451,7 @@ where
|
||||||
match C::decode_bin(array.as_slice()) {
|
match C::decode_bin(array.as_slice()) {
|
||||||
Ok(val) => {
|
Ok(val) => {
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let prev = diagnostics::SpecialNonReactiveZone::enter();
|
let prev = leptos::reactive_graph::diagnostics::SpecialNonReactiveZone::enter();
|
||||||
|
|
||||||
on_message(&val);
|
on_message(&val);
|
||||||
|
|
||||||
|
@ -488,7 +487,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let zone = diagnostics::SpecialNonReactiveZone::enter();
|
let zone = leptos::reactive_graph::diagnostics::SpecialNonReactiveZone::enter();
|
||||||
|
|
||||||
on_error(UseWebSocketError::Event(e));
|
on_error(UseWebSocketError::Event(e));
|
||||||
|
|
||||||
|
@ -517,7 +516,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let zone = diagnostics::SpecialNonReactiveZone::enter();
|
let zone = leptos::reactive_graph::diagnostics::SpecialNonReactiveZone::enter();
|
||||||
|
|
||||||
on_close(e);
|
on_close(e);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue