Remove misplaced single quotation marks to avoid showing an undefined post thumbnail in card view
This commit is contained in:
1 parent
5713e70c3f
commit
f9addc2722
1 file changed
+1
-1
@@ -137,7 +137,7 @@
|
||||
<PostLink
|
||||
url={post.post.url}
|
||||
thumbnail_url={view == 'card'
|
||||
? 'post.post.thumbnail_url'
|
||||
? post.post.thumbnail_url
|
||||
? `${post.post.thumbnail_url}?format=webp&thumbnail=512`
|
||||
: undefined
|
||||
: undefined}
|
||||
|
||||
Reference in new issue
Block a user