From 522ff05151883f93dd03d6cc2abcfff93a591850 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 18 Feb 2024 19:49:37 +0100 Subject: [PATCH] lint code --- src/app/router.options.ts | 2 +- src/components/maths/MainMaths.vue | 10 +++++----- src/components/resume/Experience.vue | 4 +++- src/content/writing/how-i-start.md | 2 +- src/content/writing/how-my-website-works.md | 2 -- src/pages/talents.vue | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/router.options.ts b/src/app/router.options.ts index e7f8456..3d175c7 100644 --- a/src/app/router.options.ts +++ b/src/app/router.options.ts @@ -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) { diff --git a/src/components/maths/MainMaths.vue b/src/components/maths/MainMaths.vue index 58ee688..5ba258f 100644 --- a/src/components/maths/MainMaths.vue +++ b/src/components/maths/MainMaths.vue @@ -19,20 +19,20 @@ useIntervalFn(() => { animated color="hotpink" /> -