feat: custom SimpleList, to allow onClick handle
This commit is contained in:
@@ -17,7 +17,10 @@ const PlayButton = ({
|
||||
|
||||
return (
|
||||
<IconButton
|
||||
onClick={() => dispatch(action(record))}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
dispatch(action(record))
|
||||
}}
|
||||
{...rest}
|
||||
size={'small'}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user