We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a65f770 commit c96105dCopy full SHA for c96105d
packages/react-router/src/scroll-restoration.tsx
@@ -113,7 +113,6 @@ export function restoreScroll(
113
for (const elementSelector in elementEntries) {
114
const entry = elementEntries[elementSelector]!
115
if (elementSelector === 'window') {
116
- console.log('windowRestored', entry)
117
window.scrollTo({
118
top: entry.scrollY,
119
left: entry.scrollX,
@@ -142,7 +141,6 @@ export function restoreScroll(
142
141
(window.history.state || {}).__hashScrollIntoViewOptions ?? true
143
144
if (hashScrollIntoViewOptions) {
145
- console.log('scrollIntoView')
146
const el = document.getElementById(hash)
147
if (el) {
148
el.scrollIntoView(hashScrollIntoViewOptions)
0 commit comments