summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAndre Vallestero <andrevallestero@gmail.com>2020-05-11 11:29:35 -0400
committerAndre Vallestero <andrevallestero@gmail.com>2020-05-11 11:29:35 -0400
commit9155469e8aab1bd2963f09332c0a6075808a09ee (patch)
tree2b2e1e7906aa683e602505768ff8eabbb3a72762 /ui
parent38381ba2878f481dbba387cced3f3ac693a33fd3 (diff)
Removed redundant erroneous check
Diffstat (limited to 'ui')
-rw-r--r--ui/src/components/post-listing.tsx5
1 files changed, 1 insertions, 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<PostListingProps, PostListingState> {
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;