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'))
|
||||
|
||||
return {
|
||||
outgoing: groupedTxs.get('outgoing'),
|
||||
outgoing: groupedTxs.get('outgoing') || List([]),
|
||||
cancel: Map().set(safeAddress, groupedTxs.get('cancel')),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue