fix: Default MCP tools button state to disabled
This commit is contained in:
parent
40163e5c63
commit
de1ad09900
@ -15,7 +15,7 @@ interface Props {
|
|||||||
const MCPToolsButton: FC<Props> = ({ enabledMCPs, onEnableMCP, ToolbarButton }) => {
|
const MCPToolsButton: FC<Props> = ({ enabledMCPs, onEnableMCP, ToolbarButton }) => {
|
||||||
const { mcpServers } = useMCPServers()
|
const { mcpServers } = useMCPServers()
|
||||||
const [isOpen, setIsOpen] = useState(false)
|
const [isOpen, setIsOpen] = useState(false)
|
||||||
const [enableAll, setEnableAll] = useState(true)
|
const [enableAll, setEnableAll] = useState(false)
|
||||||
const dropdownRef = useRef<any>(null)
|
const dropdownRef = useRef<any>(null)
|
||||||
const menuRef = useRef<HTMLDivElement>(null)
|
const menuRef = useRef<HTMLDivElement>(null)
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user