Appease the linter

This commit is contained in:
Travis Ralston 2021-03-05 11:05:56 -07:00
parent ca63e937d3
commit f87f2b11ef

View file

@ -597,7 +597,7 @@ export default class MessagePanel extends React.Component {
let isLastSuccessful = false; let isLastSuccessful = false;
const isSentState = s => !s || s === 'sent'; const isSentState = s => !s || s === 'sent';
const isSent = isSentState(mxEv.getAssociatedStatus()) const isSent = isSentState(mxEv.getAssociatedStatus());
if (!nextEvent && isSent) { if (!nextEvent && isSent) {
isLastSuccessful = true; isLastSuccessful = true;
} else if (nextEvent && isSent && !isSentState(nextEvent.getAssociatedStatus())) { } else if (nextEvent && isSent && !isSentState(nextEvent.getAssociatedStatus())) {