Unverified Commit 79e82d42 authored by Andrew Clark's avatar Andrew Clark Committed by GitHub

Fix another magic segment string constant (#59591)

Follow-up to #59552, I think this one was missed because it landed
around the same time as #59538.

Closes NEXT-1869
parent e9ac6164
...@@ -272,7 +272,7 @@ function navigateReducer_noPPR( ...@@ -272,7 +272,7 @@ function navigateReducer_noPPR(
// Filter out the __DEFAULT__ paths as they shouldn't be scrolled to in this case. // Filter out the __DEFAULT__ paths as they shouldn't be scrolled to in this case.
if ( if (
scrollableSegmentPath[scrollableSegmentPath.length - 1] !== scrollableSegmentPath[scrollableSegmentPath.length - 1] !==
'__DEFAULT__' DEFAULT_SEGMENT_KEY
) { ) {
scrollableSegments.push(scrollableSegmentPath) scrollableSegments.push(scrollableSegmentPath)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment