Browse Source

cleanup unsued

master
jeffvli 3 years ago
parent
commit
085f11822c
  1. 1
      src/components/library/AlbumView.tsx
  2. 1
      src/components/library/ArtistView.tsx
  3. 2
      src/components/starred/StarredView.tsx

1
src/components/library/AlbumView.tsx

@ -15,7 +15,6 @@ import { getAlbum } from '../../api/api';
import { useAppDispatch } from '../../redux/hooks';
import {
fixPlayer2Index,
setPlayQueue,
setPlayQueueByRowClick,
} from '../../redux/playQueueSlice';
import {

1
src/components/library/ArtistView.tsx

@ -14,7 +14,6 @@ import { getArtist, getArtistInfo } from '../../api/api';
import { useAppDispatch } from '../../redux/hooks';
import {
fixPlayer2Index,
setPlayQueue,
setPlayQueueByRowClick,
} from '../../redux/playQueueSlice';
import {

2
src/components/starred/StarredView.tsx

@ -81,9 +81,7 @@ const StarredView = () => {
const handleRowDoubleClick = (e: any) => {
window.clearTimeout(timeout);
timeout = null;
const newPlayQueue = data.song.slice([e.index], data.song.length);
dispatch(clearSelected());
// dispatch(setPlayQueue({ entries: newPlayQueue, type: 'list' }));
dispatch(
setPlayQueueByRowClick({
entries: data.song,

Loading…
Cancel
Save