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