statusTypes.UNPAID ||
statusTypes.PAIDUP)) ....
is this valid js code?
No
Would a switch statement help?
Swich inside jsx 🤔
I didn't see any JSX.
Switch won't help because you want a single case for checking if a value is one of three
Cascading cases.
Обсуждают сегодня