fix hooks release build

This commit is contained in:
Evan Almloff committed 2024-06-10 07:41:15 -05:00
1 parent 689ac5433f
commit 79e18c2d62
3 files changed
+6 -10

No files matched your search

+1
View File
@@ -165,6 +165,7 @@ impl<T: 'static, S: Storage<SignalData<T>>> Signal<T, S> {
/// use_hook(move || Signal::new_with_caller(function(), caller))
/// }
/// ```
#[allow(unused)]
pub fn new_with_caller(value: T, caller: &'static std::panic::Location<'static>) -> Self {
Self {
inner: CopyValue::new_with_caller(