Skip to content

Commit 461c9ad

Browse files
committed
display PendingCompoent if it is set
1 parent 30d5757 commit 461c9ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/solid-router/src/Match.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ export const Match = (props: { matchId: string }) => {
6363
(!route().isRoot ||
6464
route().options.wrapInSuspense ||
6565
resolvedNoSsr ||
66-
matchState()._displayPending) &&
66+
matchState()._displayPending ||
67+
PendingComponent()) &&
6768
(route().options.wrapInSuspense ??
6869
PendingComponent() ??
6970
((route().options.errorComponent as any)?.preload || resolvedNoSsr))

0 commit comments

Comments
 (0)