mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: building leptos_reactive
in release mode (#540)
This commit is contained in:
parent
20cbc240ee
commit
20f24d2f3a
1 changed files with 2 additions and 0 deletions
|
@ -1937,6 +1937,7 @@ pub(crate) fn panic_getting_dead_signal(
|
|||
"{}",
|
||||
format_signal_warning(
|
||||
"Attempted to get a signal after it was disposed.",
|
||||
#[cfg(debug_assertions)]
|
||||
defined_at,
|
||||
)
|
||||
)
|
||||
|
@ -1948,6 +1949,7 @@ pub(crate) fn warn_updating_dead_signal(
|
|||
) {
|
||||
console_warn(&format_signal_warning(
|
||||
"Attempted to update a signal after it was disposed.",
|
||||
#[cfg(debug_assertions)]
|
||||
defined_at,
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue