Skip to content

Commit

Permalink
updated toaster msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket-Engg committed Dec 20, 2024
1 parent 13a80fc commit c53a7f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/remix-ui/run-tab/src/lib/components/environment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() => {
Expand All @@ -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'))
Expand Down

0 comments on commit c53a7f9

Please sign in to comment.