From 9155469e8aab1bd2963f09332c0a6075808a09ee Mon Sep 17 00:00:00 2001 From: Andre Vallestero Date: Mon, 11 May 2020 11:29:35 -0400 Subject: [PATCH] Removed redundant erroneous check --- ui/src/components/post-listing.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index c1480f79..36a1e282 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -163,10 +163,7 @@ export class PostListing extends Component { if (isImage(post.url)) { if (post.url.includes('pictshare')) { return pictshareImage(post.url, thumbnail); - } else if ( - post.thumbnail_url && - post.thumbnail_url.includes('pictshare') - ) { + } else if (post.thumbnail_url) { return pictshareImage(post.thumbnail_url, thumbnail); } else { return post.url;