chore: comment typo [skip ci] (#79)

pull/80/head
Eduardo San Martin Morote 4 years ago committed by GitHub
parent e93ee094ea
commit f88b822eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,7 +107,7 @@ export function createRouter(
) {
e.preventDefault()
if (pathname === currentUrl.pathname) {
// scroll bewteen hash anchors in the same page
// scroll between hash anchors in the same page
if (hash && hash !== currentUrl.hash) {
history.pushState(null, '', hash)
// use smooth scroll when clicking on header anchor links

Loading…
Cancel
Save