lint code

This commit is contained in:
2024-02-18 19:49:37 +01:00
parent cae75f0cb2
commit 522ff05151
6 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
import type { RouterConfig } from '@nuxt/schema'
function findHashPosition(hash: any): { el: any; behavior: ScrollBehavior; top: number } | undefined {
function findHashPosition(hash: any): { el: any, behavior: ScrollBehavior, top: number } | undefined {
const el = document.querySelector(hash)
// vue-router does not incorporate scroll-margin-top on its own.
if (el) {