linting fix

pull/5600/head
aniket-engg 2 weeks ago
parent 650c540ea9
commit 414a50f9cb
  1. 1
      libs/remix-simulator/src/provider.ts
  2. 4
      libs/remix-ui/run-tab/src/lib/components/environment.tsx

@ -54,7 +54,6 @@ export class Provider {
pendingRequests: Array<any> pendingRequests: Array<any>
constructor (options: ProviderOptions = {} as ProviderOptions) { constructor (options: ProviderOptions = {} as ProviderOptions) {
console.log(options)
this.options = options this.options = options
this.connected = true this.connected = true
this.vmContext = new VMContext(options['fork'], options['nodeUrl'], options['blockNumber'], options['stateDb'], options['blocks']) this.vmContext = new VMContext(options['fork'], options['nodeUrl'], options['blockNumber'], options['stateDb'], options['blocks'])

@ -126,8 +126,8 @@ export function EnvironmentUI(props: EnvironmentProps) {
</CustomTooltip> } </CustomTooltip> }
{ currentProvider && currentProvider.isVM && isSaveEvmStateChecked && <CustomTooltip placement={'auto-end'} tooltipClasses="text-wrap" tooltipId="deleteVMStatetooltip" tooltipText={<FormattedMessage id="udapp.resetVmStateTitle" />}> { currentProvider && currentProvider.isVM && isSaveEvmStateChecked && <CustomTooltip placement={'auto-end'} tooltipClasses="text-wrap" tooltipId="deleteVMStatetooltip" tooltipText={<FormattedMessage id="udapp.resetVmStateTitle" />}>
<span onClick={resetVmState} style={{ cursor: 'pointer', float: 'right', textTransform: 'none' }}> <span onClick={resetVmState} style={{ cursor: 'pointer', float: 'right', textTransform: 'none' }}>
<i className="udapp_infoDeployAction ml-2 fas fa-refresh" data-id="delete-state-icon"></i> <i className="udapp_infoDeployAction ml-2 fas fa-refresh" data-id="delete-state-icon"></i>
<span className="ml-1" style = {{textTransform: 'none', fontSize: '13px' }}>Reset State</span> <span className="ml-1" style = {{ textTransform: 'none', fontSize: '13px' }}>Reset State</span>
</span> </span>
</CustomTooltip> } </CustomTooltip> }
</label> </label>

Loading…
Cancel
Save