fix: make `<Transition/>` transparent like `<Suspense/>` to avoid `Scope` issues (closes #1231) (#1232)

This commit is contained in:
Greg Johnston 2023-06-24 17:07:07 -04:00 committed by GitHub
parent c55067ab7c
commit bce1dea11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ use std::{
any(debug_assertions, feature = "ssr"),
tracing::instrument(level = "info", skip_all)
)]
#[component]
#[component(transparent)]
pub fn Transition<F, E>(
cx: Scope,
/// Will be displayed while resources are pending.