From 995f0fc08590ee4ccfb2e5e4359b2501c56fea47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Fri, 6 Jul 2018 12:32:30 +0200 Subject: [PATCH] Send: step4: Fix missing Button in some coins like stealth --- .../modals/Send/steps/04-step-confirmation.js | 37 ++++++++----------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/src/components/modals/Send/steps/04-step-confirmation.js b/src/components/modals/Send/steps/04-step-confirmation.js index 8a14a587..c6f07766 100644 --- a/src/components/modals/Send/steps/04-step-confirmation.js +++ b/src/components/modals/Send/steps/04-step-confirmation.js @@ -2,7 +2,6 @@ import React, { Fragment } from 'react' import styled from 'styled-components' -import { getAccountOperationExplorer } from '@ledgerhq/live-common/lib/explorers' import { MODAL_OPERATION_DETAILS } from 'config/constants' import { colors } from 'styles/theme' @@ -82,29 +81,25 @@ export function StepConfirmationFooter({ openModal, closeModal, }: StepProps<*>) { - const url = - optimisticOperation && account && getAccountOperationExplorer(account, optimisticOperation) return ( {optimisticOperation ? ( - url ? ( - - ) : null + ) : error ? (