mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
only refresh items on home feed
This commit is contained in:
parent
4c535147f1
commit
705ebffff3
1 changed files with 6 additions and 3 deletions
|
|
@ -206,9 +206,12 @@ export function HomeFeedContainer(props: HomeFeedContainerProps): JSX.Element {
|
|||
if (activeCardId && !alreadyScrolled.current) {
|
||||
scrollToActiveCard(activeCardId)
|
||||
alreadyScrolled.current = true
|
||||
}
|
||||
if (activeItem) {
|
||||
performActionOnItem('refresh', activeItem)
|
||||
|
||||
if (activeItem) {
|
||||
console.log('refreshing')
|
||||
// refresh items on home feed
|
||||
performActionOnItem('refresh', activeItem)
|
||||
}
|
||||
}
|
||||
}, [activeCardId, scrollToActiveCard])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue