diff --git a/ts/components/conversation/message/message-content/quote/QuoteIcon.tsx b/ts/components/conversation/message/message-content/quote/QuoteIcon.tsx deleted file mode 100644 index 0ecc33706..000000000 --- a/ts/components/conversation/message/message-content/quote/QuoteIcon.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import classNames from 'classnames'; -import React from 'react'; - -export const QuoteIcon = (props: any) => { - const { icon } = props; - - return ( -
-
-
-
-
-
-
- ); -}; diff --git a/ts/components/conversation/message/message-content/quote/QuoteIconContainer.tsx b/ts/components/conversation/message/message-content/quote/QuoteIconContainer.tsx index e565d7753..330dde711 100644 --- a/ts/components/conversation/message/message-content/quote/QuoteIconContainer.tsx +++ b/ts/components/conversation/message/message-content/quote/QuoteIconContainer.tsx @@ -5,7 +5,7 @@ import { MIME } from '../../../../../types'; import { noop } from 'lodash'; import { QuoteImage } from './QuoteImage'; -import { QuoteIcon } from './QuoteIcon'; +import classNames from 'classnames'; function getObjectUrl(thumbnail: Attachment | undefined): string | undefined { if (thumbnail && thumbnail.objectUrl) { @@ -15,6 +15,25 @@ function getObjectUrl(thumbnail: Attachment | undefined): string | undefined { return; } +const QuoteIcon = (props: any) => { + const { icon } = props; + + return ( +
+
+
+
+
+
+
+ ); +}; + export const QuoteIconContainer = ( props: Pick & { handleImageErrorBound: () => void;