diff --git a/src/components/middle/message/Sticker.tsx b/src/components/middle/message/Sticker.tsx index 7a18fb44..95a2e0ae 100644 --- a/src/components/middle/message/Sticker.tsx +++ b/src/components/middle/message/Sticker.tsx @@ -4,7 +4,7 @@ import { ApiMessage } from '../../../api/types'; import { NO_STICKER_SET_ID } from '../../../config'; import { getStickerDimensions } from '../../common/helpers/mediaDimensions'; -import { getMessageHtmlId, getMessageMediaFormat, getMessageMediaHash } from '../../../global/helpers'; +import { getMessageMediaFormat, getMessageMediaHash } from '../../../global/helpers'; import buildClassName from '../../../util/buildClassName'; import { ObserveFn, useIsIntersecting } from '../../../hooks/useIntersectionObserver'; import useMedia from '../../../hooks/useMedia'; @@ -85,7 +85,6 @@ const Sticker: FC = ({
{(!isMediaReady || (isVideo && !canDisplayVideo)) && ( = ({ )} {!isLottie && !isVideo && ( = ({ )} {isVideo && canDisplayVideo && isMediaReady && (