Don't show "Unavailable on this network" if Swaps button is enabled (#12513)

* Don't show "Unavailable on this network" if Swaps button is enabled

* Hide a tooltip title if tooltip is disabled

* Update a snapshot
feature/default_network_editable
Daniel 3 years ago committed by GitHub
parent 75b032590b
commit e8944e0a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/components/ui/tooltip/tooltip.js
  2. 1
      ui/pages/swaps/main-quote-summary/__snapshots__/main-quote-summary.test.js.snap

@ -80,7 +80,7 @@ export default class Tooltip extends PureComponent {
size={size} size={size}
offset={offset} offset={offset}
style={style} style={style}
title={title} title={disabled ? '' : title}
trigger={trigger} trigger={trigger}
theme={theme} theme={theme}
tabIndex={tabIndex || 0} tabIndex={tabIndex || 0}

@ -51,6 +51,7 @@ exports[`MainQuoteSummary renders the component with initial props 3`] = `
class="" class=""
style="display: inline;" style="display: inline;"
tabindex="0" tabindex="0"
title=""
> >
<span <span
class="main-quote-summary__quote-large-number" class="main-quote-summary__quote-large-number"

Loading…
Cancel
Save