mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
Fix dep array
This commit is contained in:
parent
9965c33ef7
commit
1602ecfe67
1 changed files with 8 additions and 1 deletions
|
|
@ -319,7 +319,14 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||
}
|
||||
// textAreaRef.current is not explicitly required here since react gaurantees that ref will be stable across re-renders, and we're not using its value but its reference.
|
||||
},
|
||||
[isHidden, textAreaDisabled, enableButtons]
|
||||
[
|
||||
isHidden,
|
||||
textAreaDisabled,
|
||||
enableButtons,
|
||||
handleSendMessage,
|
||||
handlePrimaryButtonClick,
|
||||
handleSecondaryButtonClick,
|
||||
]
|
||||
)
|
||||
|
||||
useEvent("message", handleMessage)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue