refactor: change GenreView to genreFilter

This commit is contained in:
Prayag Prajapati committed 2024-11-28 22:05:17 +05:30
1 parent a198e09864
commit 98078585d6
8 files changed
+389 -552

No files matched your search

-13
View File
@@ -11,22 +11,9 @@ import { useApiInContext } from "@/utils/store/api";
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import lyrics_icon from "../../assets/icons/lyrics.svg";
/**
* @typedef {Object} Props
* @property {import("@jellyfin/sdk/lib/generated-client/models").BaseItemDto} item
* @property {Array} queryKey
* @property {string} userId
* @property {bool} playlistItem
* @property {number} trackIndex
* @property {string | undefined} playlistItemId
*/
/**
* @description Music Track element displayed in ArtistTitlePage and Songs library
* @param {Props}
* @returns {React.Component}
*/
const MusicTrack = ({
item,
queryKey,