🎨 Fix lint error
This commit is contained in:
parent
4d04638358
commit
2e121310e4
1 changed files with 2 additions and 2 deletions
|
@ -28,11 +28,11 @@ export const loadWithObjectURL = (loadMessage: MapAsync<Message>) => async (
|
|||
}
|
||||
|
||||
// Messages with video are too expensive to load into memory, so we don’t:
|
||||
const [messagesWithVideo, messagesWithoutVideo] = partition(
|
||||
const [, messagesWithoutVideo] = partition(
|
||||
messages,
|
||||
hasVideoAttachment
|
||||
);
|
||||
const loadedMessagesWithoutVideo = await Promise.all(
|
||||
const loadedMessagesWithoutVideo: Array<Message> = await Promise.all(
|
||||
messagesWithoutVideo.map(loadMessage)
|
||||
);
|
||||
const loadedMessages = sortBy(
|
||||
|
|
Loading…
Add table
Reference in a new issue