Fix Flow conversion from Immutable List to JS Array #73

This commit is contained in:
apanizo 2018-10-30 13:15:47 +01:00
parent 9235cd2990
commit 1b1a71a195
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export type State = Map<string, Safe>
export const buildSafe = (storedSafe: SafeProps) => {
const names = storedSafe.owners.map((owner: OwnerProps) => owner.name)
const addresses = storedSafe.owners.map((owner: OwnerProps) => owner.address)
const owners = buildOwnersFrom(names.toIndexedSeq().toArray(), addresses.toIndexedSeq().toArray())
const owners = buildOwnersFrom(Array.from(names), Array.from(addresses))
const safe: SafeProps = {
address: storedSafe.address,