Get mod queue (pending approval)
Get mod queue (pending approval) in Bitsocial React Hooks. Usage, options, and examples.
import {Virtuoso} from 'react-virtuoso'
const {feed, hasMore, loadMore} = useFeed({
communities: [{name: 'memes.eth'}, {publicKey: '12D3KooW...'}, {publicKey: '12D3KooW...'}],
modQueue: ['pendingApproval']
})
<Virtuoso
data={feed}
itemContent={(index, post) => <Post index={index} post={post}/>}
useWindowScroll={true}
components={{Footer: hasMore ? () => <Loading/> : undefined}}
endReached={loadMore}
increaseViewportBy={{bottom: 600, top: 600}}
/>
Comments automatically drop out of this feed once they are no longer returned by the pending-approval mod-queue pages.