🎨 Fix formatting

This commit is contained in:
Daniel Gasienica 2018-04-24 12:11:34 -04:00
parent 3ad74e0c3e
commit dd7e51e697

View file

@ -28,10 +28,7 @@ export const loadWithObjectURL = (loadMessage: MapAsync<Message>) => async (
}
// Messages with video are too expensive to load into memory, so we dont:
const [, messagesWithoutVideo] = partition(
messages,
hasVideoAttachment
);
const [, messagesWithoutVideo] = partition(messages, hasVideoAttachment);
const loadedMessagesWithoutVideo: Array<Message> = await Promise.all(
messagesWithoutVideo.map(loadMessage)
);