Remove unused i18n

This commit is contained in:
Daniel Gasienica 2018-04-14 21:03:21 -04:00
parent 4ce0472b9f
commit 0a4be2e0f4
2 changed files with 2 additions and 3 deletions

View file

@ -46,7 +46,6 @@ export class AttachmentListSection extends React.Component<Props, {}> {
return (
<ImageThumbnail
key={message.received_at}
i18n={i18n}
message={message}
/>
);

View file

@ -6,9 +6,9 @@ import React from 'react';
import { LoadingIndicator } from './LoadingIndicator';
import { Message } from './propTypes/Message';
interface Props {
message: Message;
i18n: (value: string) => string;
}
const size = {
@ -30,7 +30,7 @@ const styles = {
export class ImageThumbnail extends React.Component<Props, {}> {
public renderContent() {
const { /* i18n, */ message } = this.props;
const { message } = this.props;
if (!message.objectURL) {
return <LoadingIndicator />;