Remove unused i18n
This commit is contained in:
parent
4ce0472b9f
commit
0a4be2e0f4
2 changed files with 2 additions and 3 deletions
|
@ -46,7 +46,6 @@ export class AttachmentListSection extends React.Component<Props, {}> {
|
|||
return (
|
||||
<ImageThumbnail
|
||||
key={message.received_at}
|
||||
i18n={i18n}
|
||||
message={message}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -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 />;
|
||||
|
|
Loading…
Add table
Reference in a new issue