mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-21 07:21:44 +01:00
lint code
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user