feat: remember library filters #192

This commit is contained in:
Prayag Prajapati committed 2024-09-13 10:39:48 +05:30
1 parent a19ea1c52f
commit 15e78a370c
8 files changed
+267 -198

No files matched your search

+7 -7
View File
@@ -36,13 +36,13 @@ const MusicTrack = ({
trackIndex,
className = "",
}: {
item: BaseItemDto;
queryKey: QueryKey;
userId: string | undefined;
playlistItem: boolean;
playlistItemId: string;
trackIndex: number;
className: string;
item?: BaseItemDto | null;
queryKey?: QueryKey;
userId?: string | undefined;
playlistItem?: boolean;
playlistItemId?: string;
trackIndex?: number;
className?: string;
}) => {
const api = useApiInContext((s) => s.api);
const [currentTrackItem] = useAudioPlayback((state) => [state.item]);