mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 01:50:44 +00:00
Fix Flow conversion from Immutable List to JS Array #73
This commit is contained in:
parent
9235cd2990
commit
1b1a71a195
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user