From 42108e8dfc308532948708d377944fec996bfc72 Mon Sep 17 00:00:00 2001 From: Daniel O'Connell Date: Sat, 30 Sep 2023 18:13:56 +0200 Subject: [PATCH] Use textareas for previous questions --- web/src/components/entry.tsx | 8 +++----- web/src/pages/index.tsx | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/web/src/components/entry.tsx b/web/src/components/entry.tsx index d9316b6..10e8eb3 100644 --- a/web/src/components/entry.tsx +++ b/web/src/components/entry.tsx @@ -9,14 +9,12 @@ import { ShowAssistantEntry } from "./assistant"; import { GlossarySpan } from "./glossary"; import Image from "next/image"; import logo from "../logo.svg"; +import TextareaAutosize from 'react-textarea-autosize'; export const User = ({ entry }: { entry: UserEntry }) => { return ( -
  • -

    - {" "} - {entry.content}{" "} -

    +
  • +
  • ); }; diff --git a/web/src/pages/index.tsx b/web/src/pages/index.tsx index 0a8c79b..8e01623 100644 --- a/web/src/pages/index.tsx +++ b/web/src/pages/index.tsx @@ -121,7 +121,7 @@ const Home: NextPage = () => { case "followups": last_entry = <> -

    Loading: Checking for followups...

    +

    Checking for followups...

    ; break; }