if (el.arr.length > 0) {
el.arr.find((div) => div.date_to === null).date === null
? (msg = 'no')
: (msg = 'yes');
} else {
commit = '';
}
Expected an assignment or function call and instead saw an expression no-unused-expressions