From ca6ae959a21f38c87ad5a5e148cbfaeb174c9b7b 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 c1480f79f..36a1e2828 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;