diff --git a/src/components/views/All.jsx b/src/components/views/All.jsx index 6fd6979d..a45db8ed 100755 --- a/src/components/views/All.jsx +++ b/src/components/views/All.jsx @@ -16,6 +16,7 @@ import EditModal from '../modals/EditModal'; import EditLabel from '../EditLabel'; import ImageBanner from '../ImageBanner'; import ModerationModal from '../modals/ModerationModal'; +import Embed from '../Embed'; import OfflineIndicator from '../OfflineIndicator'; import PendingLabel from '../PendingLabel'; import Post from '../Post'; @@ -709,110 +710,106 @@ const All = () => {
{commentMediaInfo?.url ? ( -
-
- Link:  - { - commentMediaInfo?.url.length > 30 ? - commentMediaInfo?.url.slice(0, 30) + "(...)" : - commentMediaInfo?.url - } ({commentMediaInfo?.type === "iframe" ? "video" : commentMediaInfo?.type}) - {isThreadThumbnailClicked[index] && commentMediaInfo.type !== "image" ? ( - - -[ - {handleThumbnailClick(index, 'thread')}}>Close - ] - - ) : null} -
- {commentMediaInfo?.type === 'iframe' && ( -
- - {(isThreadThumbnailClicked[index] || !commentMediaInfo.thumbnail) && commentMediaInfo.embedUrl ? ( -