Fix error logs

zio/stable
Paul Frazee 2023-01-19 17:05:36 -06:00
parent 6dcf9f8d5b
commit 15589d216f
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export const PostRepostedBy = observer(function PostRepostedBy({
useEffect(() => { useEffect(() => {
view view
.loadMore() .loadMore()
.catch(err => store.log.error('Failed to fetch user followers', err)) .catch(err => store.log.error('Failed to fetch reposts', err))
}, [view, store.log]) }, [view, store.log])
const onRefresh = () => { const onRefresh = () => {
@ -36,7 +36,7 @@ export const PostRepostedBy = observer(function PostRepostedBy({
view view
.loadMore() .loadMore()
.catch(err => .catch(err =>
view?.rootStore.log.error('Failed to load more followers', err), view?.rootStore.log.error('Failed to load more reposts', err),
) )
} }