[IMPROVE] fix some errors pointed out in LGTM

This commit is contained in:
AlexAlexandre 2021-07-22 15:59:48 -03:00
parent d3986689e5
commit 43c4234f73
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import React, { useContext } from 'react';
import { View } from 'react-native';
import PropTypes from 'prop-types';
import FastImage from '@rocket.chat/react-native-fast-image';
import { dequal } from 'dequal';
import { createImageProgress } from 'react-native-image-progress';
@ -86,7 +85,6 @@ const ImageContainer = React.memo(({file, imageUrl, showAttachment, getCustomEmo
}, (prevProps, nextProps) => dequal(prevProps.file, nextProps.file) && prevProps.theme === nextProps.theme);
ImageContainer.displayName = 'MessageImageContainer';
ImageContainer.displayName = 'MessageImage';
ImageContainer.displayName = 'MessageButton';
MessageImage.displayName = 'MessageImage';
export default ImageContainer;