mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
fix lint error
This commit is contained in:
@@ -580,7 +580,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||||||
}
|
}
|
||||||
// Update previous value
|
// Update previous value
|
||||||
setWasStreaming(isStreaming)
|
setWasStreaming(isStreaming)
|
||||||
}, [isStreaming, lastMessage, wasStreaming])
|
}, [isStreaming, lastMessage, wasStreaming, isAutoApproved])
|
||||||
|
|
||||||
const isBrowserSessionMessage = (message: ClineMessage): boolean => {
|
const isBrowserSessionMessage = (message: ClineMessage): boolean => {
|
||||||
// which of visible messages are browser session messages, see above
|
// which of visible messages are browser session messages, see above
|
||||||
@@ -822,7 +822,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||||||
if (isAutoApproved(lastMessage)) {
|
if (isAutoApproved(lastMessage)) {
|
||||||
handlePrimaryButtonClick()
|
handlePrimaryButtonClick()
|
||||||
}
|
}
|
||||||
}, [clineAsk, enableButtons, handlePrimaryButtonClick, alwaysAllowBrowser, alwaysAllowReadOnly, alwaysAllowWrite, alwaysAllowExecute, alwaysAllowMcp, messages, allowedCommands, mcpServers])
|
}, [clineAsk, enableButtons, handlePrimaryButtonClick, alwaysAllowBrowser, alwaysAllowReadOnly, alwaysAllowWrite, alwaysAllowExecute, alwaysAllowMcp, messages, allowedCommands, mcpServers, isAutoApproved, lastMessage])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user