Skip to content
Source
Sign inSign up
TanStack/router

fix(solid-router): dont show fallback unless pendingMinMs > 0 #5793

Mergedbrenelz(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/5793/headmerged by birkskyum(GitHub profile, opens in a new tab)

Showing 1 changed file with 1 addition and 1 deletion.

x
0 of 1 viewed, 1 left
1 addition and 1 deletionpackages/solid-router/src/Match.tsxModified
View file
@@ -296,7 +296,7 @@
​
return (
- {FallbackComponent ? (
+ {FallbackComponent && pendingMinMs > 0 ? (
<Dynamic component={FallbackComponent} />
) : null}
{loaderResult()}