Option to disallow market creation from fold
This commit is contained in:
parent
5b5e6c78d6
commit
4e1174a4dc
|
@ -17,4 +17,6 @@ export type Fold = {
|
|||
excludedCreatorIds?: string[]
|
||||
|
||||
followCount: number
|
||||
|
||||
disallowMarketCreation?: boolean
|
||||
}
|
||||
|
|
|
@ -239,7 +239,7 @@ export default function FoldPage(props: {
|
|||
{(page === 'activity' || page === 'markets') && (
|
||||
<Row className={clsx(page === 'activity' ? 'gap-16' : 'gap-8')}>
|
||||
<Col className="flex-1">
|
||||
{user !== null && (
|
||||
{user !== null && !fold.disallowMarketCreation && (
|
||||
<FeedCreate
|
||||
className={clsx('border-b-2', page !== 'activity' && 'hidden')}
|
||||
user={user}
|
||||
|
|
Loading…
Reference in New Issue
Block a user