diff --git a/common/fold.ts b/common/fold.ts index b91772a5..3c6be6ab 100644 --- a/common/fold.ts +++ b/common/fold.ts @@ -17,4 +17,6 @@ export type Fold = { excludedCreatorIds?: string[] followCount: number + + disallowMarketCreation?: boolean } diff --git a/web/pages/fold/[...slugs]/index.tsx b/web/pages/fold/[...slugs]/index.tsx index 399bef60..7fb2d8a2 100644 --- a/web/pages/fold/[...slugs]/index.tsx +++ b/web/pages/fold/[...slugs]/index.tsx @@ -239,7 +239,7 @@ export default function FoldPage(props: { {(page === 'activity' || page === 'markets') && ( - {user !== null && ( + {user !== null && !fold.disallowMarketCreation && (