From 59d2a28dfa3462f1543f8e7cd714016ce093a2c2 Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Tue, 5 Nov 2024 20:28:39 +0100 Subject: [PATCH] Remove TODOs --- src/components/tx/security/safenet/index.tsx | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/components/tx/security/safenet/index.tsx b/src/components/tx/security/safenet/index.tsx index 73cc1e92cb..820633b901 100644 --- a/src/components/tx/security/safenet/index.tsx +++ b/src/components/tx/security/safenet/index.tsx @@ -97,19 +97,12 @@ const StatusIcon = ({ status }: { status: string }): ReactElement => { } const SafenetTxTxSimulationSummary = ({ simulation }: { simulation: SafenetSimulationResponse }): ReactElement => { - // TODO(nlordell) - // if (simulation.results.length === 0) { - // return No Safenet checks enabled... - // } + if (simulation.results.length === 0) { + return No Safenet checks enabled... + } const guarantees = _groupResultGuarantees(simulation) - // TODO(nlordell) - if (guarantees.length === 0) { - guarantees.push({ display: 'Fraud verification', status: 'success' }) - guarantees.push({ display: 'Recipient verification', status: 'failure' }) - } - return ( {simulation.hasError && (