mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
refactor: convert showSuggestions from state to constant
- Addresses code review feedback about unused state variable - showSuggestions is always true and never changes, so it doesn't need to be state - All tests pass and no linting issues
This commit is contained in:
parent
6fa0a528b9
commit
dd533c2af7
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ export const CommandExecution = ({ executionId, text, icon, title }: CommandExec
|
|||
const [isExpanded, setIsExpanded] = useState(terminalShellIntegrationDisabled)
|
||||
const [streamingOutput, setStreamingOutput] = useState("")
|
||||
const [status, setStatus] = useState<CommandExecutionStatus | null>(null)
|
||||
const [showSuggestions] = useState(true)
|
||||
const showSuggestions = true
|
||||
|
||||
// The command's output can either come from the text associated with the
|
||||
// task message (this is the case for completed commands) or from the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue