fix newline

pull/5370/head
aniket-engg 1 year ago committed by Aniket
parent adc111398d
commit de8894c5fe
  1. 2
      libs/remix-ui/run-tab/src/lib/actions/deploy.ts

@ -121,7 +121,7 @@ export const continueHandler = (dispatch: React.Dispatch<any>, gasEstimationProm
if (error) { if (error) {
let msg = typeof error !== 'string' ? error.message : error let msg = typeof error !== 'string' ? error.message : error
if (msg.includes('invalid opcode')) msg += '/n OR the EVM version used by the selected environment is not compatible with the compiler EVM version.' if (msg.includes('invalid opcode')) msg += '\n OR the EVM version used by the selected environment is not compatible with the compiler EVM version.'
dispatch(displayNotification('Gas estimation failed', gasEstimationPrompt(msg), 'Send Transaction', 'Cancel Transaction', () => { dispatch(displayNotification('Gas estimation failed', gasEstimationPrompt(msg), 'Send Transaction', 'Cancel Transaction', () => {
continueTxExecution() continueTxExecution()

Loading…
Cancel
Save