From b8098e7992265c291c49293796668d5a14c9d5ee Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Fri, 25 Aug 2023 15:59:47 -0400 Subject: [PATCH] fix: `` fallback on non-initial page loads --- leptos/src/transition.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/leptos/src/transition.rs b/leptos/src/transition.rs index 56c5938e8..c40c45859 100644 --- a/leptos/src/transition.rs +++ b/leptos/src/transition.rs @@ -130,10 +130,7 @@ where if is_first_run(&first_run, &suspense_context) { let has_local_only = suspense_context.has_local_only() || cfg!(feature = "csr"); - if (!has_local_only || child_runs.get() > 0) - && (cfg!(feature = "csr") - || HydrationCtx::is_hydrating()) - { + if (!has_local_only || child_runs.get() > 0) { first_run.set(false); } }