fix: evaluate storedTransactionIndex as number
This commit is contained in:
parent
5c95d1f220
commit
363e9f3888
|
@ -24,7 +24,7 @@ export default handleActions<State, *>(
|
|||
|
||||
const storedTransactionIndex = transactionList.findIndex((tx) => tx.safeTxHash === transaction.safeTxHash)
|
||||
|
||||
if (!storedTransactionIndex < 0) {
|
||||
if (storedTransactionIndex === -1) {
|
||||
return state
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue