mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +00:00
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…
x
Reference in New Issue
Block a user