chore: clippy
This commit is contained in:
parent
6b60d48203
commit
7def5f65ed
|
@ -47,7 +47,7 @@ pub fn HydrationScripts(
|
|||
#[cfg(feature = "nonce")]
|
||||
let nonce = crate::nonce::use_nonce();
|
||||
#[cfg(not(feature = "nonce"))]
|
||||
let nonce = None::<()>;
|
||||
let nonce = None::<String>;
|
||||
let script = if islands {
|
||||
include_str!("./island_script.js")
|
||||
} else {
|
||||
|
|
|
@ -172,7 +172,10 @@ pub mod prelude {
|
|||
computed::*, effect::*, owner::*, signal::*, wrappers::read::*, *,
|
||||
};
|
||||
pub use server_fn::{self, ServerFnError};
|
||||
pub use tachys::{self, reactive_graph::node_ref::*};
|
||||
pub use tachys::{
|
||||
self,
|
||||
reactive_graph::{node_ref::*, Suspend},
|
||||
};
|
||||
}
|
||||
pub use export_types::*;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@ use crate::{
|
|||
children::{TypedChildren, ViewFnOnce},
|
||||
IntoView,
|
||||
};
|
||||
use any_spawner::Executor;
|
||||
use futures::FutureExt;
|
||||
use leptos_macro::component;
|
||||
use reactive_graph::{
|
||||
|
@ -12,7 +11,6 @@ use reactive_graph::{
|
|||
traits::{Get, Read, Track, With},
|
||||
};
|
||||
use slotmap::{DefaultKey, SlotMap};
|
||||
use std::{cell::RefCell, fmt::Debug, future::Future, pin::Pin, rc::Rc};
|
||||
use tachys::{
|
||||
either::Either,
|
||||
html::attribute::Attribute,
|
||||
|
@ -23,8 +21,7 @@ use tachys::{
|
|||
view::{
|
||||
add_attr::AddAnyAttr,
|
||||
either::{EitherKeepAlive, EitherKeepAliveState},
|
||||
iterators::OptionState,
|
||||
Mountable, Position, PositionState, Render, RenderHtml,
|
||||
Position, PositionState, Render, RenderHtml,
|
||||
},
|
||||
};
|
||||
use throw_error::ErrorHookFuture;
|
||||
|
|
Loading…
Reference in New Issue