Skip to content

Commit d9b4d98

Browse files
committed
fix from
1 parent 7c3138d commit d9b4d98

File tree

1 file changed

+2
-2
lines changed
  • packages/fcl-ethereum-provider/src/network

1 file changed

+2
-2
lines changed

packages/fcl-ethereum-provider/src/network/network.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {FLOW_CHAINS, FlowNetwork} from "../constants"
22
import {
33
BehaviorSubject,
4-
fromPromise,
4+
from,
55
shareReplay,
66
Subscription,
77
switchMap,
@@ -27,7 +27,7 @@ export class NetworkManager {
2727
.pipe(
2828
tap(() => (this.isLoading = true)),
2929
switchMap(cfg =>
30-
fromPromise(
30+
from(
3131
(async () => {
3232
const accessNode = cfg?.["accessNode.api"]
3333
const flowNetwork = (await fcl.getChainId({

0 commit comments

Comments
 (0)