Skip to content

Commit b079bb5

Browse files
committed
test: remove unnecessary decodeURI [skip ci]
1 parent afc7e74 commit b079bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/scroll-behavior/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const scrollBehavior: RouterScrollBehavior = async function (
4040

4141
// scroll to anchor by returning the selector
4242
if (to.hash) {
43-
position = { el: decodeURI(to.hash), behavior }
43+
position = { el: to.hash, behavior }
4444

4545
// specify offset of the element
4646
if (to.hash === '#anchor2') {

0 commit comments

Comments
 (0)