mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix Loading: Ensure that image is loaded when retrieving images
This commit is contained in:
parent
9c6a302357
commit
3a65ee3a6c
1 changed files with 2 additions and 2 deletions
|
|
@ -224,7 +224,7 @@ export function HomeFeedContainer(): JSX.Element {
|
|||
|
||||
if (link && link.state != 'PROCESSING') {
|
||||
const updatedArticle = { ...item }
|
||||
updatedArticle.node = { ...item.node, ...link }
|
||||
updatedArticle.node = { ...item.node, ...link, image: "https://cdn.arstechnica.net/wp-content/uploads/2023/09/cpglitch-800x450.jpg" }
|
||||
updatedArticle.isLoading = false
|
||||
console.log(`Updating Metadata of ${item.node.slug}.`)
|
||||
performActionOnItem('update-item', updatedArticle)
|
||||
|
|
@ -1229,7 +1229,7 @@ function LibraryItems(props: LibraryItemsProps): JSX.Element {
|
|||
data-testid="linkedItemCard"
|
||||
id={linkedItem.node.id}
|
||||
tabIndex={0}
|
||||
key={linkedItem.node.id}
|
||||
key={linkedItem.node.id + linkedItem.node.image}
|
||||
css={{
|
||||
width: '100%',
|
||||
'&:focus-visible': {
|
||||
|
|
|
|||
Loading…
Reference in a new issue