|
|
@ -139,13 +139,11 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { |
|
|
|
const onchangeCopilotActivate = () => { |
|
|
|
const onchangeCopilotActivate = () => { |
|
|
|
if (!props.useCopilot) { |
|
|
|
if (!props.useCopilot) { |
|
|
|
copilotActivate(props.config, props.useCopilot, dispatch) |
|
|
|
copilotActivate(props.config, props.useCopilot, dispatch) |
|
|
|
props.plugin.call('terminal', 'log', { type: 'typewriterlog', value: `Solidity copilot not activated!` }) |
|
|
|
|
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const startCopilot = async () => { |
|
|
|
const startCopilot = async () => { |
|
|
|
copilotActivate(props.config, props.useCopilot, dispatch) |
|
|
|
copilotActivate(props.config, props.useCopilot, dispatch) |
|
|
|
props.plugin.call('terminal', 'log', { type: 'typewriterlog', value: `Solidity copilot activated!` }) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
startCopilot() |
|
|
|
startCopilot() |
|
|
|