mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-16 16:34:24 +02:00
use correct list key for related songs on fullscreen player (#1343)
This commit is contained in:
@@ -26,7 +26,6 @@ export const SimilarSongsList = ({ count, song }: SimilarSongsListProps) => {
|
|||||||
gcTime: 1000 * 60 * 2,
|
gcTime: 1000 * 60 * 2,
|
||||||
},
|
},
|
||||||
query: {
|
query: {
|
||||||
albumArtistIds: song.albumArtists.map((art) => art.id),
|
|
||||||
count,
|
count,
|
||||||
songId: song.id,
|
songId: song.id,
|
||||||
},
|
},
|
||||||
@@ -34,15 +33,15 @@ export const SimilarSongsList = ({ count, song }: SimilarSongsListProps) => {
|
|||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
const { table } = useListSettings(ItemListKey.SONG);
|
const { table } = useListSettings(ItemListKey.FULL_SCREEN);
|
||||||
const { table: fullScreenTable } = useListSettings(ItemListKey.FULL_SCREEN);
|
const { table: fullScreenTable } = useListSettings(ItemListKey.FULL_SCREEN);
|
||||||
|
|
||||||
const { handleColumnReordered } = useItemListColumnReorder({
|
const { handleColumnReordered } = useItemListColumnReorder({
|
||||||
itemListKey: ItemListKey.SONG,
|
itemListKey: ItemListKey.FULL_SCREEN,
|
||||||
});
|
});
|
||||||
|
|
||||||
const { handleColumnResized } = useItemListColumnResize({
|
const { handleColumnResized } = useItemListColumnResize({
|
||||||
itemListKey: ItemListKey.SONG,
|
itemListKey: ItemListKey.FULL_SCREEN,
|
||||||
});
|
});
|
||||||
|
|
||||||
const tableData = useMemo(() => {
|
const tableData = useMemo(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user