Skip to content

Commit 8d325b6

Browse files
committed
removed comments
1 parent 6cec3c9 commit 8d325b6

File tree

1 file changed

+0
-12
lines changed
  • apps/api-reference/src/components/EvmProvider

1 file changed

+0
-12
lines changed

apps/api-reference/src/components/EvmProvider/index.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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-
3927
type EvmProviderProps = {
4028
children: ReactNode;
4129
walletConnectProjectId?: string | undefined;

0 commit comments

Comments
 (0)