From 6307c5a3eb0d03576e15452b3f33b44c368306e9 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Tue, 5 Jul 2022 17:20:37 -0700 Subject: [PATCH] Remove Categories from /create --- web/pages/create.tsx | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/web/pages/create.tsx b/web/pages/create.tsx index 6c652c47..f32663d0 100644 --- a/web/pages/create.tsx +++ b/web/pages/create.tsx @@ -25,7 +25,6 @@ import { useTracking } from 'web/hooks/use-tracking' import { useWarnUnsavedChanges } from 'web/hooks/use-warn-unsaved-changes' import { track } from 'web/lib/service/analytics' import { GroupSelector } from 'web/components/groups/group-selector' -import { CATEGORIES } from 'common/categories' import { User } from 'common/user' type NewQuestionParams = { @@ -137,7 +136,6 @@ export function NewContract(props: { undefined ) const [showGroupSelector, setShowGroupSelector] = useState(true) - const [category, setCategory] = useState('') const closeTime = closeDate ? dayjs(`${closeDate}T${closeHoursMinutes}`).valueOf() @@ -210,7 +208,6 @@ export function NewContract(props: { initialValue, isLogScale: (min ?? 0) < 0 ? false : isLogScale, groupId: selectedGroup?.id, - tags: category ? [category] : undefined, }) ) track('create market', { @@ -352,28 +349,6 @@ export function NewContract(props: { )} -
- - - -
-