refactor: reformat files to require parens around params (#316)

This commit is contained in:
Dan Orlando 2023-05-18 11:44:07 -07:00 committed by GitHub
parent 91ef4872d6
commit a17b878617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 106 additions and 106 deletions

View file

@ -65,7 +65,7 @@ export default function Conversation({ conversation, retainView }) {
if (updateConvoMutation.isSuccess) {
refreshConversations();
if (conversationId == currentConversation?.conversationId) {
setCurrentConversation(prevState => ({
setCurrentConversation((prevState) => ({
...prevState,
title: titleInput
}));
@ -99,7 +99,7 @@ export default function Conversation({ conversation, retainView }) {
type="text"
className="m-0 mr-0 w-full border border-blue-500 bg-transparent p-0 text-sm leading-tight outline-none"
value={titleInput}
onChange={e => setTitleInput(e.target.value)}
onChange={(e) => setTitleInput(e.target.value)}
onBlur={onRename}
onKeyDown={handleKeyDown}
/>