Skip to content

Commit 01e0f5a

Browse files
authored
fix(solid-router): dont show fallback unless pendingMinMs > 0 (#5793)
1 parent 509f14b commit 01e0f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid-router/src/Match.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export const MatchInner = (props: { matchId: string }): any => {
296296

297297
return (
298298
<>
299-
{FallbackComponent ? (
299+
{FallbackComponent && pendingMinMs > 0 ? (
300300
<Dynamic component={FallbackComponent} />
301301
) : null}
302302
{loaderResult()}

0 commit comments

Comments
 (0)