|
|
@ -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} |
|
|
|