Skip to content

Commit

Permalink
Remove TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
nlordell committed Nov 5, 2024
1 parent 9a303d7 commit 59d2a28
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/components/tx/security/safenet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,12 @@ const StatusIcon = ({ status }: { status: string }): ReactElement => {
}

const SafenetTxTxSimulationSummary = ({ simulation }: { simulation: SafenetSimulationResponse }): ReactElement => {
// TODO(nlordell)
// if (simulation.results.length === 0) {
// return <Typography>No Safenet checks enabled...</Typography>
// }
if (simulation.results.length === 0) {
return <Typography>No Safenet checks enabled...</Typography>
}

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 (
<Paper variant="outlined" className={css.wrapper}>
{simulation.hasError && (
Expand Down

0 comments on commit 59d2a28

Please sign in to comment.