Typescript is happier with this

This commit is contained in:
Jordan Eldredge 2019-03-17 20:50:37 -07:00
parent 9f9891b334
commit 2dd373f8d1

View file

@ -33,7 +33,7 @@ const WebampIcon = (props: Props) => {
return () => document.removeEventListener("click", handleClick);
}, [selected]);
return (
hidden || (
!hidden && (
<div
ref={ref}
onDoubleClick={() => {