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 (
|
return (
|
||||||
<ImageThumbnail
|
<ImageThumbnail
|
||||||
key={message.received_at}
|
key={message.received_at}
|
||||||
i18n={i18n}
|
|
||||||
message={message}
|
message={message}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
|
@ -6,9 +6,9 @@ import React from 'react';
|
||||||
import { LoadingIndicator } from './LoadingIndicator';
|
import { LoadingIndicator } from './LoadingIndicator';
|
||||||
import { Message } from './propTypes/Message';
|
import { Message } from './propTypes/Message';
|
||||||
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
message: Message;
|
message: Message;
|
||||||
i18n: (value: string) => string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const size = {
|
const size = {
|
||||||
|
@ -30,7 +30,7 @@ const styles = {
|
||||||
|
|
||||||
export class ImageThumbnail extends React.Component<Props, {}> {
|
export class ImageThumbnail extends React.Component<Props, {}> {
|
||||||
public renderContent() {
|
public renderContent() {
|
||||||
const { /* i18n, */ message } = this.props;
|
const { message } = this.props;
|
||||||
|
|
||||||
if (!message.objectURL) {
|
if (!message.objectURL) {
|
||||||
return <LoadingIndicator />;
|
return <LoadingIndicator />;
|
||||||
|
|
Loading…
Add table
Reference in a new issue