We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c24de2 commit 85071a2Copy full SHA for 85071a2
examples/supply/src/ChainSelector.tsx
@@ -2,7 +2,6 @@ import {
2
type Chain,
3
type ChainId,
4
ChainsFilter,
5
- type EvmAddress,
6
useAaveChains,
7
} from '@aave/react';
8
@@ -22,11 +21,6 @@ export function ChainSelector({
22
21
filter: ChainsFilter.ALL,
23
});
24
25
- const firstChain = chains?.[0];
26
- if (firstChain) {
27
- const test: EvmAddress = firstChain.chainId;
28
- }
29
-
30
const handleChange = (event: React.ChangeEvent<HTMLSelectElement>) => {
31
const selectedChain = chains.find(
32
(chain) => chain.chainId === Number(event.target.value),
0 commit comments