remove unused var

This commit is contained in:
geoffrey45
2022-07-06 17:53:53 +03:00
parent 18d213e57f
commit 27605facf2
4 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ const getAlbumArtists = async (hash: string) => {
}; };
const getAlbumBio = async (hash: string) => { const getAlbumBio = async (hash: string) => {
const { data, status, error } = await useAxios({ const { data, status } = await useAxios({
url: state.settings.uri + "/album/bio", url: state.settings.uri + "/album/bio",
props: { props: {
hash: hash, hash: hash,
-1
View File
@@ -1,4 +1,3 @@
import axios from "axios";
import { Playlist, Track } from "../../interfaces"; import { Playlist, Track } from "../../interfaces";
import { Notification, NotifType } from "../../stores/notification"; import { Notification, NotifType } from "../../stores/notification";
import state from "../state"; import state from "../state";
-1
View File
@@ -1,4 +1,3 @@
import { Track, AlbumInfo, Artist } from "./../interfaces";
import { ref } from "@vue/reactivity"; import { ref } from "@vue/reactivity";
import { reactive } from "vue"; import { reactive } from "vue";
+1 -1
View File
@@ -11,7 +11,7 @@ function focusSearchBox() {
export default function (queue: typeof useQStore) { export default function (queue: typeof useQStore) {
const q = queue(); const q = queue();
window.addEventListener("keydown", (e: KeyboardEvent) => { window.addEventListener("keydown", (e: KeyboardEvent) => {
let target = e.target as HTMLElement; const target = e.target as HTMLElement;
let ctrlKey = e.ctrlKey; let ctrlKey = e.ctrlKey;
function FocusedOnInput(target: HTMLElement) { function FocusedOnInput(target: HTMLElement) {