Skip to content

Commit

Permalink
Rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Jun 13, 2023
1 parent c5bebfb commit a32871c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,8 @@ private extension ImportPresenter {

func setupInitialState() {
Sign.instance.sessionSettlePublisher.sink { session in
let accounts = session.namespaces.values.reduce(into: []) { result, namespace in
result = result + Array(namespace.accounts)
}

Task(priority: .userInitiated) {
try await self.importAccount(.web3Modal(account: accounts.first!))
try await self.importAccount(.web3Modal(account: session.accounts.first!, topic: session.topic))
}

}.store(in: &disposeBag)
Expand Down

0 comments on commit a32871c

Please sign in to comment.