Rename media gallery items

This commit is contained in:
Daniel Gasienica 2018-04-14 21:11:40 -04:00
parent 5d0469adef
commit cb94d09ef9
6 changed files with 15 additions and 21 deletions

View file

@ -5,7 +5,7 @@ import React from 'react';
import moment from 'moment';
import { AttachmentListSection } from './AttachmentListSection';
import { AttachmentSection } from './AttachmentSection';
import { groupMessagesByDate } from './groupMessagesByDate';
import { Message } from './propTypes/Message';
@ -131,7 +131,7 @@ export class MediaGallery extends React.Component<Props, State> {
? date.format(MONTH_FORMAT)
: i18n(section.type);
return (
<AttachmentListSection
<AttachmentSection
key={header}
header={header}
i18n={i18n}