Skip to content

Commit

Permalink
Change order of NotFound -> Loading to Loading -> NotFound
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Sep 22, 2022
1 parent c4647bb commit c49e037
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/next/client/components/layout-router.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ export default function OuterLayoutRouter({
key={preservedSegment}
value={
<ErrorBoundary errorComponent={error}>
<NotFoundBoundary notFound={notFound}>
<LoadingBoundary loading={loading}>
<LoadingBoundary loading={loading}>
<NotFoundBoundary notFound={notFound}>
<InnerLayoutRouter
parallelRouterKey={parallelRouterKey}
url={url}
Expand All @@ -470,8 +470,8 @@ export default function OuterLayoutRouter({
isActive={currentChildSegment === preservedSegment}
rootLayoutIncluded={rootLayoutIncluded}
/>
</LoadingBoundary>
</NotFoundBoundary>
</NotFoundBoundary>
</LoadingBoundary>
</ErrorBoundary>
}
>
Expand Down

0 comments on commit c49e037

Please sign in to comment.