Fixed chat thought always showing

This commit is contained in:
Lucas Oliveira 2023-07-08 06:44:03 -03:00
commit b1a58a76b8

View file

@ -48,7 +48,7 @@ export default function ChatMessage({
{!chat.isSend ? (
<div className="form-modal-chat-text-position">
<div className="form-modal-chat-text">
{hidden && (
{hidden && chat.thought && chat.thought !== "" && (
<div
onClick={() => setHidden((prev) => !prev)}
className="form-modal-chat-icon-div"