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