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:
Xylight authored and GitHub committed 2023-09-27 19:18:14 +00:00
commit 2a92a112e1
1 file changed
+1 -1
+1 -1
View File
@@ -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}