diff --git a/web/components/contract/contract-info-dialog.tsx b/web/components/contract/contract-info-dialog.tsx index cc01ec2a..a8d6a1aa 100644 --- a/web/components/contract/contract-info-dialog.tsx +++ b/web/components/contract/contract-info-dialog.tsx @@ -7,8 +7,6 @@ import { Bet } from '../../../common/bet' import { Contract } from '../../../common/contract' import { formatMoney } from '../../../common/util/format' -import { useFoldsWithTags } from '../../hooks/use-fold' -import { useUser } from '../../hooks/use-user' import { contractPath, getBinaryProbPercent, @@ -19,7 +17,6 @@ import { Modal } from '../layout/modal' import { Row } from '../layout/row' import { ShareEmbedButton } from '../share-embed-button' import { TagsInput } from '../tags-input' -import { FoldTagList } from '../tags-list' import { Title } from '../title' import { TweetButton } from '../tweet-button' @@ -28,12 +25,6 @@ export function ContractInfoDialog(props: { contract: Contract; bets: Bet[] }) { const [open, setOpen] = useState(false) - const user = useUser() - - const folds = (useFoldsWithTags(contract.tags) ?? []).filter( - (fold) => fold.followCount > 1 || user?.id === fold.curatorId - ) - const formatTime = (dt: number) => dayjs(dt).format('MMM DD, YYYY hh:mm a z') const { createdTime, closeTime, resolutionTime } = contract @@ -116,9 +107,6 @@ export function ContractInfoDialog(props: { contract: Contract; bets: Bet[] }) {
-
Communities
- -
Tags
diff --git a/web/components/contract/contract-overview.tsx b/web/components/contract/contract-overview.tsx index 198b3c0c..4d2d6194 100644 --- a/web/components/contract/contract-overview.tsx +++ b/web/components/contract/contract-overview.tsx @@ -10,7 +10,6 @@ import { ContractDetails, ResolutionOrChance } from './contract-card' import { Bet } from '../../../common/bet' import { Comment } from '../../../common/comment' import BetRow from '../bet-row' -import { ContractActivity } from '../feed/contract-activity' import { AnswersGraph } from '../answers/answers-graph' import { DPM, FreeResponse, FullContract } from '../../../common/contract' import { ContractDescription } from './contract-description' diff --git a/web/components/nav/profile-menu.tsx b/web/components/nav/profile-menu.tsx index 65ac1049..c88e67b9 100644 --- a/web/components/nav/profile-menu.tsx +++ b/web/components/nav/profile-menu.tsx @@ -12,7 +12,6 @@ export function getNavigationOptions(user?: User | null) { if (!user) { return [ { name: 'Leaderboards', href: '/leaderboards' }, - { name: 'Communities', href: '/folds' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, ] } @@ -20,7 +19,6 @@ export function getNavigationOptions(user?: User | null) { return [ { name: 'Add funds', href: '/add-funds' }, { name: 'Leaderboards', href: '/leaderboards' }, - { name: 'Communities', href: '/folds' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, { name: 'About', href: 'https://docs.manifold.markets' }, { name: 'Sign out', href: '#', onClick: () => firebaseLogout() }, diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 05600904..a86f0d79 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -34,7 +34,6 @@ const signedOutNavigation = [ const signedOutMobileNavigation = [ { name: 'Leaderboards', href: '/leaderboards', icon: CakeIcon }, - { name: 'Communities', href: '/folds', icon: UserGroupIcon }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh', icon: ChatIcon }, { name: 'About', href: 'https://docs.manifold.markets', icon: BookOpenIcon }, ]