Browse Source

Send: step4: Fix missing Button in some coins like stealth

master
Gaëtan Renaudeau 7 years ago
parent
commit
995f0fc085
  1. 5
      src/components/modals/Send/steps/04-step-confirmation.js

5
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,12 +81,9 @@ export function StepConfirmationFooter({
openModal,
closeModal,
}: StepProps<*>) {
const url =
optimisticOperation && account && getAccountOperationExplorer(account, optimisticOperation)
return (
<Fragment>
{optimisticOperation ? (
url ? (
<Button
ml={2}
event="Send Flow Step 4 View OpD Clicked"
@ -104,7 +100,6 @@ export function StepConfirmationFooter({
>
{t('app:send.steps.confirmation.success.cta')}
</Button>
) : null
) : error ? (
<Button
ml={2}

Loading…
Cancel
Save