fix text for forked at

pull/5567/head
aniket-engg 1 month ago committed by Aniket
parent c7ebbb5f0c
commit 1c4061a666
  1. 2
      apps/remix-ide/src/blockchain/blockchain.tsx
  2. 4
      libs/remix-ui/environment-explorer/src/lib/components/environment-explorer-ui.tsx

@ -157,7 +157,7 @@ export class Blockchain extends Plugin {
_paq.push(['trackEvent', 'blockchain', 'providerPinned', name]) _paq.push(['trackEvent', 'blockchain', 'providerPinned', name])
this.emit('providersChanged') this.emit('providersChanged')
this.changeExecutionContext({ context: name }, null, null, null) this.changeExecutionContext({ context: name }, null, null, null)
this.call('notification', 'toast', `VM state ${providerName} forked and selected as current envionment.`) this.call('notification', 'toast', `VM state '${providerName}' forked and selected as current envionment.`)
}) })
this.on('environmentExplorer', 'providerUnpinned', (name, provider) => { this.on('environmentExplorer', 'providerUnpinned', (name, provider) => {

@ -29,10 +29,10 @@ const defaultSections: environmentExplorerUIGridSections = {
<div><b>Latest Block: </b>{parseInt(latestBlock)}</div> <div><b>Latest Block: </b>{parseInt(latestBlock)}</div>
<CustomTooltip <CustomTooltip
placement="auto" placement="auto"
tooltipId="overlay-tooltip-compile" tooltipId="overlay-tooltip-forkedAt"
tooltipText={`Forked at: ${(new Date(timestamp)).toLocaleString()}`} tooltipText={`Forked at: ${(new Date(timestamp)).toLocaleString()}`}
> >
<div><b>Saved at: </b>{(new Date(timestamp)).toDateString()}</div> <div><b>Forked at: </b>{(new Date(timestamp)).toDateString()}</div>
</CustomTooltip> </CustomTooltip>
</>) </>)
} }

Loading…
Cancel
Save