Skip to content

Commit 39dc575

Browse files
committed
display PendingCompoent if it is set
1 parent 9a07111 commit 39dc575

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎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)