I want to make a ternary with two conditions using the following form:
(!bool1 && bool2) && <Component />
I'm having some syntax problem I think, but I don't know how to put it this way.
Would you like to avoid a:
!bool1 && bool2 ? <Component /> : ""