From aeea66491a26ad6381026575202e54d196d24df4 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Sat, 13 Aug 2022 13:49:25 -0500 Subject: [PATCH] Group question => market --- web/pages/group/[...slugs]/index.tsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index 0daf74c7..fdd75949 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -1,5 +1,4 @@ import { debounce, sortBy, take } from 'lodash' -import PlusSmIcon from '@heroicons/react/solid/PlusSmIcon' import { Group, GROUP_CHAT_SLUG } from 'common/group' import { Page } from 'web/components/page' @@ -38,7 +37,6 @@ import { toast } from 'react-hot-toast' import { useCommentsOnGroup } from 'web/hooks/use-comments' import { REFERRAL_AMOUNT } from 'common/user' import { ContractSearch } from 'web/components/contract-search' -import clsx from 'clsx' import { FollowList } from 'web/components/follow-list' import { SearchIcon } from '@heroicons/react/outline' import { useTipTxns } from 'web/hooks/use-tip-txns' @@ -557,32 +555,29 @@ function AddContractButton(props: { group: Group; user: User }) { return ( <>
- +
- Add a question to your group + Add a market to your group
{contracts.length === 0 ? (
- (or select old questions) + (or select old markets)
) : (