diff --git a/src/components/AudioPlayer/PlayerCard.tsx b/src/components/AudioPlayer/PlayerCard.tsx index 01a7639..2080b82 100644 --- a/src/components/AudioPlayer/PlayerCard.tsx +++ b/src/components/AudioPlayer/PlayerCard.tsx @@ -17,12 +17,13 @@ interface Prop { } export default function PlayerCard({ show, className }: Prop) { - const { audioId, playList, playState, setPlayList, setPlayQueue } = useAudioStore( + const { audioId, playList, playQueue, playState, setPlayList, setPlayQueue } = useAudioStore( useShallow((state) => { return { playState: state.playState, audioId: state.audioId, playList: state.playList, + playQueue: state.playQueue, setPlayList: state.setPlayList, setPlayQueue: state.setPlayQueue, }; @@ -123,7 +124,7 @@ export default function PlayerCard({ show, className }: Prop) { >