message: remove not enought funds message in widget build
diff: @@ -201,37 +201,31 @@ export default class DepositWindow extends Component {
  const balanceToRender = Math.floor(balance * 1e6) / 1e6
  - return (
  - <Fragment>
  - <div
  - styleName="topUpLink"
  - target="_blank"
  - rel="noopener noreferrer"
  - >
  - <div styleName="top">
  - {/* eslint-disable */}
  - <div styleName="btcMessage">
  - <FormattedMessage
  - id="deposit165"
  - defaultMessage="You don't have enought funds to continue the swap. Copy the address below and top it up with the recommended amount of {missingBalance} "
  - values={{ missingBalance:
  + const isWidgetBuild = config && config.isWidget
  +
  + const DontHaveEnoughtFoundsValues = {
  + missingBalance:
  <div>
  - {remainingBalance > 0
  - ? <strong>{`${remainingBalance}`} {swap.sellCurrency}{' '}</strong>
  - : <span styleName="loaderHolder">
  + {remainingBalance > 0 ?
  + <strong>{`${remainingBalance}`} {swap.sellCurrency}{' '}</strong>
  + :
  + <span styleName="loaderHolder">
  <InlineLoader />
  - </span>}
  + </span>
  + }
  <Tooltip id="dep170">
  <div>
  + {/* eslint-disable */}
  <FormattedMessage
  id="deposit177"
  defaultMessage="Do not top up the contract with the greater amount than recommended. The remaining balance will be send to the counter party. You can send {tokenName} from a wallet of any exchange"
  values={{
  amount: `${swap.sellAmount}`,
  tokenName: swap.sellCurrency,
  - br: <br />
  + br: <br />,
  }}
  />
  + {/* eslint-enable */}
  {/* <p>
  <FormattedMessage id="deposit181" defaultMessage="You can send {currency} from a wallet of any exchange" values={{ currency: `${swap.buyCurrency}` }} />
  </p> */}
  @@ -241,10 +235,33 @@ export default class DepositWindow extends Component {
  amount: `${swap.sellAmount}`,
  tokenName: swap.sellCurrency,
  br: <br />,
  - }}
  + }
  +
  + return (
  + <Fragment>
  + <div
  + styleName="topUpLink"
  + target="_blank"
  + rel="noopener noreferrer"
  + >
  + <div styleName="top">
  + <div styleName="btcMessage">
  + {/* eslint-disable */}
  + {isWidgetBuild ? (
  + <FormattedMessage
  + id="deposit165widget"
  + defaultMessage="Copy the address below and top it up with the recommended amount of {missingBalance} "
  + values={DontHaveEnoughtFoundsValues}
  />
  - </div>
  + ) : (
  + <FormattedMessage
  + id="deposit165"
  + defaultMessage="You don't have enought funds to continue the swap. Copy the address below and top it up with the recommended amount of {missingBalance} "
  + values={DontHaveEnoughtFoundsValues}
  + />
  + )}
  {/* eslint-enable */}
  + </div>
  <div styleName="qrImg">
  <QR
  network={currencyFullName.toLowerCase()}
  