From 15b9f8cd0ecdc5151b192348e6d2f76fe94625ee Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 24 Nov 2023 15:22:39 +0700 Subject: [PATCH] chore: instruction input should be textarea --- web/screens/Chat/ChatInstruction/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/screens/Chat/ChatInstruction/index.tsx b/web/screens/Chat/ChatInstruction/index.tsx index b08088d95..2931926c2 100644 --- a/web/screens/Chat/ChatInstruction/index.tsx +++ b/web/screens/Chat/ChatInstruction/index.tsx @@ -8,7 +8,7 @@ import { events, } from '@janhq/core' -import { Button, Input } from '@janhq/uikit' +import { Button, Textarea } from '@janhq/uikit' import { useAtomValue } from 'jotai' import { getActiveConvoIdAtom } from '@/helpers/atoms/Conversation.atom' @@ -46,11 +46,12 @@ const ChatInstruction = () => { )} {isSettingInstruction && (
- { setInstruction(e.target.value) }} + className="h-24" />