From 58ee0ba349da2c8e1f7018a8eb49dd81442745c1 Mon Sep 17 00:00:00 2001 From: wlren Date: Wed, 19 Oct 2022 16:39:26 +0800 Subject: [PATCH] [questions][ui] remove contribute collapsible --- .../questions/ContributeQuestionForm.tsx | 49 ++++++++----------- 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/apps/portal/src/components/questions/ContributeQuestionForm.tsx b/apps/portal/src/components/questions/ContributeQuestionForm.tsx index a0e4d0b6..8754d473 100644 --- a/apps/portal/src/components/questions/ContributeQuestionForm.tsx +++ b/apps/portal/src/components/questions/ContributeQuestionForm.tsx @@ -3,14 +3,7 @@ import { useState } from 'react'; import { Controller, useForm } from 'react-hook-form'; import { CalendarDaysIcon, UserIcon } from '@heroicons/react/24/outline'; import type { QuestionsQuestionType } from '@prisma/client'; -import { - Button, - CheckboxInput, - Collapsible, - Select, - TextArea, - TextInput, -} from '@tih/ui'; +import { Button, CheckboxInput, Select, TextArea, TextInput } from '@tih/ui'; import { QUESTION_TYPES } from '~/utils/questions/constants'; import { @@ -110,28 +103,26 @@ export default function ContributeQuestionForm({ /> - -
-
- -
-
- -
+
+
+
- +
+ +
+
{/*