Skip to content

Commit

Permalink
Remove __PRIVATE_NEXTJS_INTERNALS_CUSTOM_DATA as it's not used
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Nov 13, 2023
1 parent c37e0fa commit 14f8317
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/next/src/client/components/app-router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ function Router({
url?: string | URL | null
): void {
copyNextJsInternalHistoryState(data)
data.__PRIVATE_NEXTJS_INTERNALS_CUSTOM_DATA = true

applyUrlFromHistoryPushReplace(url)

Expand All @@ -509,7 +508,6 @@ function Router({
url?: string | URL | null
): void {
copyNextJsInternalHistoryState(data)
data.__PRIVATE_NEXTJS_INTERNALS_CUSTOM_DATA = true

if (url) {
applyUrlFromHistoryPushReplace(url)
Expand Down

0 comments on commit 14f8317

Please sign in to comment.