Fix eslint issue in EditChatInput (#2864)

This commit is contained in:
Quentin Macheda 2024-05-03 13:16:06 +01:00 committed by GitHub
parent 2016eae0c9
commit c21bc08793
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,12 +129,10 @@ const EditChatInput: React.FC<Props> = ({ message }) => {
} }
return ( return (
<div className="mx-auto flex w-full flex-col flex-shrink-0 items-start justify-center space-y-4 pb-0 pt-1"> <div className="mx-auto flex w-full flex-shrink-0 flex-col items-start justify-center space-y-4 pb-0 pt-1">
<div className="relative flex w-full flex-col"> <div className="relative flex w-full flex-col">
<Textarea <Textarea
className={twMerge( className={twMerge('max-h-[400px] resize-none pr-20')}
'max-h-[400px] resize-none pr-20'
)}
style={{ height: '40px' }} style={{ height: '40px' }}
ref={textareaRef} ref={textareaRef}
onKeyDown={onKeyDown} onKeyDown={onKeyDown}