Require at least 2 follows to show a community (or show it if you are the curator)
This commit is contained in:
parent
faa49b750e
commit
2b5a0b1111
|
@ -74,7 +74,9 @@ export default function ContractPage(props: {
|
|||
const contract = useContractWithPreload(props.slug, props.contract)
|
||||
const { bets, comments } = props
|
||||
|
||||
const folds = useFoldsWithTags(contract?.tags) ?? props.folds
|
||||
const folds = (useFoldsWithTags(contract?.tags) ?? props.folds).filter(
|
||||
(fold) => fold.followCount > 1 || user?.id === fold.curatorId
|
||||
)
|
||||
|
||||
if (!contract) {
|
||||
return <Custom404 />
|
||||
|
|
Loading…
Reference in New Issue
Block a user