Add additional fix to song list header play button (#28)
This commit is contained in:
parent
930bbb33fd
commit
3848e9840d
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ import {
|
|||
SongListFilter,
|
||||
useCurrentServer,
|
||||
useListStoreActions,
|
||||
useSongListStore,
|
||||
useSongListFilter,
|
||||
} from '/@/renderer/store';
|
||||
import { usePlayButtonBehavior } from '/@/renderer/store/settings.store';
|
||||
import { Play } from '/@/renderer/types';
|
||||
|
@ -37,7 +37,7 @@ export const SongListHeader = ({
|
|||
}: SongListHeaderProps) => {
|
||||
const server = useCurrentServer();
|
||||
const { id, pageKey } = useSongListContext();
|
||||
const { filter } = useSongListStore({ id, key: pageKey });
|
||||
const filter = useSongListFilter({ id, key: pageKey });
|
||||
const { setFilter, setTablePagination } = useListStoreActions();
|
||||
const handlePlayQueueAdd = usePlayQueueAdd();
|
||||
const cq = useContainerQuery();
|
||||
|
|
Reference in a new issue