From 5cb95f455d43cb3a99267ad3215e8cbf5fbad0d6 Mon Sep 17 00:00:00 2001 From: Henry Fontanier Date: Tue, 3 Oct 2023 16:37:09 +0200 Subject: [PATCH] fix: isEditingTile should be intialized to false --- front/components/assistant/conversation/ConversationTitle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/components/assistant/conversation/ConversationTitle.tsx b/front/components/assistant/conversation/ConversationTitle.tsx index c206627011a6..24932ebb9cd5 100644 --- a/front/components/assistant/conversation/ConversationTitle.tsx +++ b/front/components/assistant/conversation/ConversationTitle.tsx @@ -31,7 +31,7 @@ export function ConversationTitle({ const { mutate } = useSWRConfig(); const [copyLinkSuccess, setCopyLinkSuccess] = useState(false); - const [isEditingTitle, setIsEditingTitle] = useState(true); + const [isEditingTitle, setIsEditingTitle] = useState(false); const [editedTitle, setEditedTitle] = useState(""); const titleInputFocused = useRef(false);