From c648b7c9dd78dbb64e01eb56d02fc56f3e23788f Mon Sep 17 00:00:00 2001 From: QingXia-Ela Date: Sun, 25 Aug 2024 11:21:09 +0800 Subject: [PATCH] chore: lint --- .../playlist/components/LeftList/components/CtxMenu/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/playlist/components/LeftList/components/CtxMenu/index.tsx b/src/pages/playlist/components/LeftList/components/CtxMenu/index.tsx index c067bb8..e3529a4 100644 --- a/src/pages/playlist/components/LeftList/components/CtxMenu/index.tsx +++ b/src/pages/playlist/components/LeftList/components/CtxMenu/index.tsx @@ -81,7 +81,7 @@ function PlaylistLeftCtxMenu({ cid, handleClose }: PlaylistLeftCtxMenuProps) { const play = async () => { handleClose(); const res = await (await getAlbumDetail(cid)).json(); - const songId = res.data.songs[0]?.cid + const songId = res.data.songs[0]?.cid; if (songId) { SirenStore.dispatch({ type: 'player/selectSong',