mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
chore: remove unnecessary import
This commit is contained in:
parent
63bbc38f3f
commit
fb0c6d2ea4
1 changed files with 1 additions and 4 deletions
|
@ -44,7 +44,6 @@ pub fn fc_to_builder<T: Properties>(_: FC<T>) -> T::Builder {
|
|||
T::builder()
|
||||
}
|
||||
|
||||
use crate::nodebuilder::LazyNodes;
|
||||
/// Create inline fragments
|
||||
///
|
||||
/// Fragments capture a series of children without rendering extra nodes.
|
||||
|
@ -54,7 +53,5 @@ use crate::nodebuilder::LazyNodes;
|
|||
use crate::prelude::*;
|
||||
#[allow(non_upper_case_globals, non_snake_case)]
|
||||
pub fn Fragment<'a>(cx: Context<'a, ()>) -> VNode<'a> {
|
||||
cx.render(LazyNodes::new(move |f| {
|
||||
f.fragment_from_iter(cx.children())
|
||||
}))
|
||||
cx.render(LazyNodes::new(move |f| f.fragment_from_iter(cx.children())))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue