Skip to content

Commit e424546

Browse files
committed
stay under bundle limit
1 parent e7d7435 commit e424546

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/router/history.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,10 +626,9 @@ function getUrlBasedHistory(
626626
warning(
627627
false,
628628
`You are trying to perform a POP navigation to a location that was not ` +
629-
`created by @remix-run/router. This won't work and will fail silently ` +
630-
`in production. In general, you should do all navigation with the ` +
631-
`router to avoid this situation (instead of using window.history.pushState ` +
632-
`or assigning directly to window.location.hash).`
629+
`created by @remix-run/router. This will fail silently in production. ` +
630+
`You should navigate via the router to avoid this situation (instead of ` +
631+
`using window.history.pushState/window.location.hash).`
633632
);
634633
}
635634
}

0 commit comments

Comments
 (0)