Remove x icon and update modal message

pull/2260/head
David Disu 2 years ago
parent c13f5b0a47
commit 3d4a1c0293
  1. 5
      apps/remix-ide/src/blockchain/blockchain.js
  2. 1
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

@ -11,7 +11,7 @@ import InjectedProvider from './providers/injected.js'
import NodeProvider from './providers/node.js'
import { execution, EventManager, helpers } from '@remix-project/remix-lib'
import { etherScanLink } from './helper'
import { logBuilder } from "@remix-ui/helper"
import { logBuilder, confirmProxyMsg } from "@remix-ui/helper"
import { cancelProxyMsg } from '@remix-ui/helper'
const { txFormat, txExecution, typeConversion, txListener: Txlistener, TxRunner, TxRunnerWeb3, txHelper } = execution
const { txResultHelper: resultToRemixTx } = helpers
@ -143,7 +143,8 @@ export class Blockchain extends Plugin {
const proxyModal = {
id: 'confirmProxyDeployment',
title: 'ERC1967',
message: 'Confirm proxy deployment?',
message: `Confirm you want to deploy an ERC1967 proxy contract that is connected to your implementation.
For more info on ERC1967, see https://docs.openzeppelin.com/contracts/4.x/api/proxy#ERC1967Proxy`,
modalType: 'modal',
okLabel: 'OK',
cancelLabel: 'Cancel',

@ -219,7 +219,6 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
return <option key={index} value={contract.alias}>{contract.alias} - {contract.file}</option>
}) }
</select>
{ (contractList[currentFile] || []).length <= 0 && <i style={{ display: compFails }} title="No contract compiled yet or compilation failed. Please check the compile tab for more information." className="m-2 ml-3 fas fa-times-circle udapp_errorIcon" ></i> }
<span className="py-1" style={{ display: abiLabel.display }}>{ abiLabel.content }</span>
</div>
<div>

Loading…
Cancel
Save