Skip to content

Commit

Permalink
fix: isEditingTile should be intialized to false
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh committed Oct 3, 2023
1 parent 3b08978 commit 5cb95f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function ConversationTitle({
const { mutate } = useSWRConfig();

const [copyLinkSuccess, setCopyLinkSuccess] = useState<boolean>(false);
const [isEditingTitle, setIsEditingTitle] = useState<boolean>(true);
const [isEditingTitle, setIsEditingTitle] = useState<boolean>(false);
const [editedTitle, setEditedTitle] = useState<string>("");

const titleInputFocused = useRef(false);
Expand Down

0 comments on commit 5cb95f4

Please sign in to comment.