fix double click

This commit is contained in:
jeffvli
2021-08-07 04:46:36 -07:00
parent 5303afc80a
commit 88bc7762e2
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ const NowPlayingView = () => {
}
};
const handleRowDoubleClick = (_e: any, rowData: any) => {
const handleRowDoubleClick = (rowData: any) => {
window.clearTimeout(timeout);
timeout = null;
dispatch(clearSelected());

View File

@@ -198,7 +198,7 @@ const ListViewType = ({
})
}
onDoubleClick={(e: any) =>
handleRowDoubleClick(e, {
handleRowDoubleClick({
...rowData,
rowIndex,
})