fix: building leptos_reactive in release mode (#540)

This commit is contained in:
Greg Johnston 2023-02-18 12:45:58 -05:00 committed by GitHub
parent 20cbc240ee
commit 20f24d2f3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
));
}