Skip to content

Commit

Permalink
Fix pagination in feeds page
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Sep 11, 2022
1 parent f572200 commit f79d3a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/components/feed-header/feed-display.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const feedDisplay = Component(({
copyButton.current.innerText = 'Error'
}
}, [copyButton.current])
console.log(f?.description)

return html`
<div class="bc-feed-display">
Expand Down
4 changes: 2 additions & 2 deletions web/feeds/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const page = Component(() => {
.catch(err => { console.error(err); setEpisodesError(err) })
.finally(() => { setEpisodesLoading(false) })
}
}, [query?.get('before'), query?.get('after'), state.apiUrl])
}, [query, state.apiUrl])

// Get Feed
useEffect(() => {
Expand Down Expand Up @@ -135,7 +135,7 @@ export const page = Component(() => {
.catch(err => { console.error(err); setFeedError(err) })
.finally(() => { setFeedLoading(false) })
}
}, [query?.get('feed_id'), state.apiUrl])
}, [state.apiUrl])

// Get Feeds
useEffect(() => {
Expand Down

0 comments on commit f79d3a8

Please sign in to comment.