Appease the linter
This commit is contained in:
parent
ca63e937d3
commit
f87f2b11ef
1 changed files with 1 additions and 1 deletions
|
@ -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())) {
|
||||||
|
|
Loading…
Reference in a new issue