updated toaster msg

pull/5563/head
aniket-engg 1 month ago committed by Aniket
parent 01aa2d05f1
commit 3ab188e7b8
  1. 4
      libs/remix-ui/run-tab/src/lib/components/environment.tsx

@ -82,7 +82,7 @@ export function EnvironmentUI(props: EnvironmentProps) {
intl.formatMessage({ id: 'udapp.cancel' }),
null
)
} else props.runTabPlugin.call('notification', 'toast', `VM state doesn't exist for selected environment.`)
} else props.runTabPlugin.call('notification', 'toast', `State not available to fork, as no transactions have been made for selected environment & selected workspace.`)
}
const deleteVmState = async() => {
@ -109,7 +109,7 @@ export function EnvironmentUI(props: EnvironmentProps) {
intl.formatMessage({ id: 'udapp.cancel' }),
null
)
} else props.runTabPlugin.call('notification', 'toast', `VM state doesn't exist for selected environment.`)
} else props.runTabPlugin.call('notification', 'toast', `State not available to delete, as no transactions have been made for selected environment & selected workspace.`)
}
const isL2 = (providerDisplayName: string) => providerDisplayName && (providerDisplayName.startsWith('L2 - Optimism') || providerDisplayName.startsWith('L2 - Arbitrum'))

Loading…
Cancel
Save