remove warning in release mode

This commit is contained in:
Greg Johnston 2024-02-09 17:46:15 -05:00
parent 6d5e08af51
commit d577aadddd

View file

@ -1,8 +1,10 @@
//use crate::{ServerFn, ServerFnError};
#[cfg(debug_assertions)]
use leptos_reactive::console_warn;
use leptos_reactive::{
console_warn, create_rw_signal, is_suppressing_resource_load,
signal_prelude::*, spawn_local, store_value, try_batch, use_context,
ReadSignal, RwSignal, StoredValue,
create_rw_signal, is_suppressing_resource_load, signal_prelude::*,
spawn_local, store_value, try_batch, use_context, ReadSignal, RwSignal,
StoredValue,
};
use server_fn::{error::ServerFnUrlError, ServerFn, ServerFnError};
use std::{cell::Cell, future::Future, pin::Pin, rc::Rc};