Skip to content

Commit 9907685

Browse files
[autofix.ci] apply automated fixes
1 parent 8bc8543 commit 9907685

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/router.options.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ export default {
1010

1111
// Preserve the current viewport for query-only updates on pages that opt in,
1212
// such as compare where controls sync state to the URL in-place.
13-
if (
14-
to.path === from.path &&
15-
to.hash === from.hash &&
16-
to.meta.preserveScrollOnQuery === true
17-
) {
13+
if (to.path === from.path && to.hash === from.hash && to.meta.preserveScrollOnQuery === true) {
1814
return false
1915
}
2016

0 commit comments

Comments
 (0)