Javascript – How to prevent single click when double click on react
I want to call a function on single click and double click on an video element in react.But when i double click the element it also calling the single click function I want the solution of the problem Here is…