fix: Prevent page to scroll to top during data HMR (#35739)

This commit is contained in:
Johannes Schickling 2022-03-30 17:45:34 +02:00 committed by GitHub
parent ced2040661
commit cae9506fd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,8 @@ initialize({ webpackHMR })
new URLSearchParams(location.search)
)
),
router.asPath
router.asPath,
{ scroll: false }
)
.finally(clearIndicator)
}