chore: fix eslint

This commit is contained in:
Hakadao
2024-09-02 02:35:19 +08:00
parent a26d6d715a
commit 0369014341
3 changed files with 2 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import { isHomePage } from '~/utils/main'
import ALink from './ALink.vue'
const { t } = useI18n()

View File

@@ -6,7 +6,7 @@ import { useApiClient } from '~/composables/api'
import { revokeAccessKey } from '~/utils/authProvider'
import { numFormatter } from '~/utils/dataFormatter'
import { LV0_ICON, LV1_ICON, LV2_ICON, LV3_ICON, LV4_ICON, LV5_ICON, LV6_ICON, LV6_LIGHTNING_ICON } from '~/utils/lvIcons'
import { getCSRF, getUserID, isHomePage } from '~/utils/main'
import { getCSRF, getUserID } from '~/utils/main'
import type { UserInfo, UserStat } from '../types'
import ALink from './ALink.vue'

View File

@@ -7,7 +7,7 @@ import Progress from '~/components/Progress.vue'
import { useApiClient } from '~/composables/api'
import type { List as VideoItem, WatchLaterResult } from '~/models/video/watchLater'
import { calcCurrentTime } from '~/utils/dataFormatter'
import { isHomePage, removeHttpFromUrl } from '~/utils/main'
import { removeHttpFromUrl } from '~/utils/main'
import ALink from './ALink.vue'