fix: chat log wont show up (#2007)

This commit is contained in:
Ricky 2024-01-12 14:36:56 +08:00 committed by GitHub
parent 9245f0adac
commit 26eff330f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,11 @@ const Log: FC<LogProps> = ({
`}>
<div
className='flex items-center justify-center rounded-md w-full h-full hover:bg-gray-100'
onClick={() => setShowModal(true)}
onClick={(e) => {
e.stopPropagation()
setShowModal(true)
}
}
>
<File02 className='w-4 h-4 text-gray-500' />
</div>