|
|
@ -179,6 +179,9 @@ export const TabsUI = (props: TabsUIProps) => { |
|
|
|
} else if (tabsState.currentExt === 'sol' || tabsState.currentExt === 'yul') { |
|
|
|
} else if (tabsState.currentExt === 'sol' || tabsState.currentExt === 'yul') { |
|
|
|
await props.plugin.call('solidity', 'compile', path) |
|
|
|
await props.plugin.call('solidity', 'compile', path) |
|
|
|
_paq.push(['trackEvent', 'editor', 'clickRunFromEditor', tabsState.currentExt]) |
|
|
|
_paq.push(['trackEvent', 'editor', 'clickRunFromEditor', tabsState.currentExt]) |
|
|
|
|
|
|
|
} else if (tabsState.currentExt === 'circom') { |
|
|
|
|
|
|
|
await props.plugin.call('circuit-compiler', 'compile', path) |
|
|
|
|
|
|
|
_paq.push(['trackEvent', 'editor', 'clickRunFromEditor', tabsState.currentExt]) |
|
|
|
} |
|
|
|
} |
|
|
|
}} |
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
@ -189,7 +192,7 @@ export const TabsUI = (props: TabsUIProps) => { |
|
|
|
<span> |
|
|
|
<span> |
|
|
|
{tabsState.currentExt === 'js' || tabsState.currentExt === 'ts' ? ( |
|
|
|
{tabsState.currentExt === 'js' || tabsState.currentExt === 'ts' ? ( |
|
|
|
<FormattedMessage id="remixUiTabs.tooltipText1" /> |
|
|
|
<FormattedMessage id="remixUiTabs.tooltipText1" /> |
|
|
|
) : tabsState.currentExt === 'sol' || tabsState.currentExt === 'yul' ? ( |
|
|
|
) : tabsState.currentExt === 'sol' || tabsState.currentExt === 'yul' || tabsState.currentExt === 'circom' ? ( |
|
|
|
<FormattedMessage id="remixUiTabs.tooltipText2" /> |
|
|
|
<FormattedMessage id="remixUiTabs.tooltipText2" /> |
|
|
|
) : ( |
|
|
|
) : ( |
|
|
|
<FormattedMessage id="remixUiTabs.tooltipText3" /> |
|
|
|
<FormattedMessage id="remixUiTabs.tooltipText3" /> |
|
|
|