chore: remove unused .clone() call in <Suspense/>. (#486)

This commit is contained in:
martin frances 2023-02-09 01:44:10 +00:00 committed by GitHub
parent fe7aacb0c8
commit b9f05f94ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ where
let initial = {
// no resources were read under this, so just return the child
if context.pending_resources.get() == 0 {
child.clone()
child
}
// show the fallback, but also prepare to stream HTML
else {