Commit ee6e3ba
Simplify shouldClearConvertedAmount by removing duplicate currency comparison
Collapse the separate early-return and variable into a single return statement,
eliminating the redundant transactionCurrency === destinationCurrency check.
Co-authored-by: Aimane Chnaif <aimane-chnaif@users.noreply.github.com>1 parent fe81f4e commit ee6e3ba
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
| 1052 | + | |
1059 | 1053 | | |
1060 | 1054 | | |
1061 | 1055 | | |
| |||
0 commit comments