Lint
This commit is contained in:
parent
2ad0032f72
commit
379d19e2e0
2 changed files with 7 additions and 11 deletions
|
@ -1102,7 +1102,6 @@ class RedactionGrouper {
|
|||
);
|
||||
|
||||
const senders = new Set();
|
||||
|
||||
let eventTiles = this.events.map((e, i) => {
|
||||
senders.add(e.sender);
|
||||
const prevEvent = i === 0 ? this.prevEvent : this.events[i - 1];
|
||||
|
|
|
@ -264,7 +264,6 @@ describe('MessagePanel', function() {
|
|||
}),
|
||||
];
|
||||
}
|
||||
|
||||
function isReadMarkerVisible(rmContainer) {
|
||||
return rmContainer && rmContainer.children.length > 0;
|
||||
}
|
||||
|
@ -453,7 +452,7 @@ describe('MessagePanel', function() {
|
|||
});
|
||||
|
||||
it('should render Date separators for the events', function () {
|
||||
const events = mkOneDayEvents()
|
||||
const events = mkOneDayEvents();
|
||||
const res = mount(
|
||||
<WrappedMessagePanel
|
||||
className="cls"
|
||||
|
@ -463,7 +462,5 @@ describe('MessagePanel', function() {
|
|||
const Dates = res.find(sdk.getComponent('messages.DateSeparator'));
|
||||
|
||||
expect(Dates.length).toEqual(1);
|
||||
|
||||
|
||||
})
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue