mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
refactor: reformat files to require parens around params (#316)
This commit is contained in:
parent
91ef4872d6
commit
a17b878617
50 changed files with 106 additions and 106 deletions
|
|
@ -72,7 +72,7 @@ export default function MessageHandler() {
|
|||
}, 5000);
|
||||
}
|
||||
|
||||
setConversation(prevState => ({
|
||||
setConversation((prevState) => ({
|
||||
...prevState,
|
||||
...conversation
|
||||
}));
|
||||
|
|
@ -104,7 +104,7 @@ export default function MessageHandler() {
|
|||
]);
|
||||
|
||||
const { conversationId } = message;
|
||||
setConversation(prevState => ({
|
||||
setConversation((prevState) => ({
|
||||
...prevState,
|
||||
conversationId
|
||||
}));
|
||||
|
|
@ -133,7 +133,7 @@ export default function MessageHandler() {
|
|||
}, 5000);
|
||||
}
|
||||
|
||||
setConversation(prevState => ({
|
||||
setConversation((prevState) => ({
|
||||
...prevState,
|
||||
...conversation
|
||||
}));
|
||||
|
|
@ -167,7 +167,7 @@ export default function MessageHandler() {
|
|||
abortKey: conversationId
|
||||
})
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
console.log('aborted', data);
|
||||
cancelHandler(data, submission);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue