chore: instruction input should be textarea

This commit is contained in:
Louis 2023-11-24 15:22:39 +07:00
parent c5ede361c7
commit 15b9f8cd0e

View File

@ -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 && (
<div className="space-y-4">
<Input
<Textarea
placeholder={`Enter your instructions`}
onChange={(e) => {
setInstruction(e.target.value)
}}
className="h-24"
/>
<Button
themes={'outline'}