Skip to content

Commit

Permalink
Update packages/next/src/client/components/router-reducer/create-opti…
Browse files Browse the repository at this point in the history
…mistic-tree.ts

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
  • Loading branch information
feedthejim and timneutkens committed Apr 17, 2023
1 parent a455944 commit 778239f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function createOptimisticTree(

let childTree

// if there's multiple parallel routes at this level, we shoudn't create an
// if there's multiple parallel routes at this level, we shouldn't create an
// optimistic tree for the next level because we don't know which one will
// match the next segment.
if (!isLastSegment && !hasMultipleParallelRoutes) {
Expand Down

0 comments on commit 778239f

Please sign in to comment.