mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Remove unused i18n
This commit is contained in:
@@ -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 />;
|
||||
|
||||
Reference in New Issue
Block a user