mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-25 07:55:18 +00:00
Merge pull request #966 from gnosis/fix-awaitingTransactions
Fix app crashing when safeTransactions is undefined
This commit is contained in:
commit
710f6a5ab6
@ -262,7 +262,7 @@ export const loadSafeTransactions = async (safeAddress, getState) => {
|
|||||||
const groupedTxs = List(txsRecord).groupBy((tx) => (tx.get('cancellationTx') ? 'cancel' : 'outgoing'))
|
const groupedTxs = List(txsRecord).groupBy((tx) => (tx.get('cancellationTx') ? 'cancel' : 'outgoing'))
|
||||||
|
|
||||||
return {
|
return {
|
||||||
outgoing: groupedTxs.get('outgoing'),
|
outgoing: groupedTxs.get('outgoing') || List([]),
|
||||||
cancel: Map().set(safeAddress, groupedTxs.get('cancel')),
|
cancel: Map().set(safeAddress, groupedTxs.get('cancel')),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user