diff --git a/src/components/player/NowPlayingView.tsx b/src/components/player/NowPlayingView.tsx index f4201dc..eb7e599 100644 --- a/src/components/player/NowPlayingView.tsx +++ b/src/components/player/NowPlayingView.tsx @@ -91,7 +91,7 @@ const NowPlayingView = () => { } }; - const handleRowDoubleClick = (_e: any, rowData: any) => { + const handleRowDoubleClick = (rowData: any) => { window.clearTimeout(timeout); timeout = null; dispatch(clearSelected()); diff --git a/src/components/viewtypes/ListViewType.tsx b/src/components/viewtypes/ListViewType.tsx index 216eb6c..740e395 100644 --- a/src/components/viewtypes/ListViewType.tsx +++ b/src/components/viewtypes/ListViewType.tsx @@ -198,7 +198,7 @@ const ListViewType = ({ }) } onDoubleClick={(e: any) => - handleRowDoubleClick(e, { + handleRowDoubleClick({ ...rowData, rowIndex, })