File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
apps/api-reference/src/components/EvmProvider Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,6 @@ const TRANSPORTS = Object.fromEntries(
2424 CHAINS . map ( ( chain ) => [ chain . id , http ( getEvmChainRpcUrl ( chain . id ) ) ] ) ,
2525) ;
2626
27- // TODO: Remove this once we have a way to get the TRANSPORTS from the contract manager
28- // const chainEntries = await Promise.all(
29- // CHAINS.map(async (chain) => {
30- // const url = await getEvmChainRpcUrl(chain.id);
31- // return url ? [chain.id, http(url)] : undefined;
32- // }),
33- // );
34-
35- // const TRANSPORTS = Object.fromEntries(
36- // chainEntries.filter((entry): entry is [number, ReturnType<typeof http>] => entry !== undefined)
37- // ) as Record<number, ReturnType<typeof http>>;
38-
3927type EvmProviderProps = {
4028 children : ReactNode ;
4129 walletConnectProjectId ?: string | undefined ;
You can’t perform that action at this time.
0 commit comments