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
This commit is contained in:
Andrew Clark 2023-12-13 12:36:19 -05:00 committed by GitHub
parent e9ac616414
commit 79e82d42c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,7 +272,7 @@ function navigateReducer_noPPR(
// Filter out the __DEFAULT__ paths as they shouldn't be scrolled to in this case.
if (
scrollableSegmentPath[scrollableSegmentPath.length - 1] !==
'__DEFAULT__'
DEFAULT_SEGMENT_KEY
) {
scrollableSegments.push(scrollableSegmentPath)
}