This should be simply but I cant figure it out, all I'm trying to do is add an or condition to my ternary operator, heres the code:
{cat === 'electronics' || 'jewelery' ? '' : <Size><b>Size: </b>{size}</Size>}
There are 4 categories 2 can have size these 2 cant, now if I remove the or condition like so:
{cat === 'jewelery' ? '' : <Size><b>Size: </b>{size}</Size>}
This work perfectly fine but then I'll have to add another test when I dont see why || shouldnt be working.
any help is appreciated.