kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
lint(front): cleanup unused imports and variables
rodzic
11db1faa60
commit
2278ed0669
|
|
@ -1,7 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import type { Track, Album, Playlist, Library, Channel, Actor, Cover, ArtistCredit } from '~/types'
|
||||
import type { PlayOptionsProps } from '~/composables/audio/usePlayOptions'
|
||||
import { getArtistCoverUrl } from '~/utils/utils'
|
||||
|
||||
import { ref } from 'vue'
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
import type { Track, Artist, Album, Playlist, Library, Channel, Actor } from '~/types'
|
||||
import type { PlayOptionsProps } from '~/composables/audio/usePlayOptions'
|
||||
|
||||
import { computed } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
import { usePlayer } from '~/composables/audio/player'
|
||||
import { useQueue } from '~/composables/audio/queue'
|
||||
import { useStore } from '~/store'
|
||||
|
|
@ -47,18 +44,11 @@ const props = withDefaults(defineProps<Props>(), {
|
|||
account: null
|
||||
})
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'open-modal', track: Track, index: number): void
|
||||
}>()
|
||||
|
||||
const { currentTrack } = useQueue()
|
||||
const { isPlaying } = usePlayer()
|
||||
const { activateTrack } = usePlayOptions(props)
|
||||
|
||||
const { t } = useI18n()
|
||||
const store = useStore()
|
||||
|
||||
const actionsButtonLabel = computed(() => t('components.audio.track.MobileRow.button.actions'))
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue