From 32d46b5701798d2052378a9bf8934c0128d1f664 Mon Sep 17 00:00:00 2001 From: wlren Date: Thu, 3 Nov 2022 17:11:23 +0800 Subject: [PATCH] [questions][ui] reduce contribute card fields --- .../questions/ContributeQuestionCard.tsx | 50 ++++--------------- 1 file changed, 10 insertions(+), 40 deletions(-) diff --git a/apps/portal/src/components/questions/ContributeQuestionCard.tsx b/apps/portal/src/components/questions/ContributeQuestionCard.tsx index f91e1eb4..be050d96 100644 --- a/apps/portal/src/components/questions/ContributeQuestionCard.tsx +++ b/apps/portal/src/components/questions/ContributeQuestionCard.tsx @@ -1,9 +1,4 @@ import { useState } from 'react'; -import { - BuildingOffice2Icon, - CalendarDaysIcon, - QuestionMarkCircleIcon, -} from '@heroicons/react/24/outline'; import { TextInput } from '@tih/ui'; import { useProtectedCallback } from '~/utils/questions/useProtectedCallback'; @@ -32,44 +27,19 @@ export default function ContributeQuestionCard({ return (