react-hooks icon indicating copy to clipboard operation
react-hooks copied to clipboard

Should remove event listener instead of adding

Open TimvanScherpenzeel opened this issue 6 years ago • 0 comments

Hi,

I noticed the following issue which I assume is a bug:

https://github.com/21kb/react-hooks/blob/ae764604518e34b61b2f409c8533b3f38ee7c7d3/packages/react-device-orientation-hook/src/index.ts#L34-L40

Kind regards,

Tim

TimvanScherpenzeel avatar Nov 14 '19 20:11 TimvanScherpenzeel