mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +01:00
adds linting, fix linter errors, abort automatic scrolling
This commit is contained in:
parent
16932b37c0
commit
a516b38e27
7 changed files with 4235 additions and 16569 deletions
|
|
@ -19,7 +19,8 @@ export default function Conversation({
|
|||
const [titleInput, setTitleInput] = useState(title);
|
||||
const inputRef = useRef(null);
|
||||
const dispatch = useDispatch();
|
||||
const { trigger, isMutating } = manualSWR(`http://localhost:3050/messages/${id}`, 'get');
|
||||
// const { trigger, isMutating } = manualSWR(`http://localhost:3050/messages/${id}`, 'get');
|
||||
const { trigger } = manualSWR(`http://localhost:3050/messages/${id}`, 'get');
|
||||
const rename = manualSWR(`http://localhost:3050/convos/update`, 'post');
|
||||
|
||||
const clickHandler = async () => {
|
||||
|
|
@ -28,18 +29,16 @@ export default function Conversation({
|
|||
}
|
||||
|
||||
if (bingData) {
|
||||
const { title, conversationSignature, clientId, conversationId, invocationId } =
|
||||
bingData;
|
||||
const { conversationSignature, clientId, invocationId } = bingData;
|
||||
dispatch(
|
||||
setConversation({
|
||||
title,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
invocationId,
|
||||
error: false,
|
||||
conversationId: id,
|
||||
parentMessageId: null
|
||||
parentMessageId: null,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
invocationId
|
||||
})
|
||||
);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue