Skip to content

Commit dd515e7

Browse files
committed
fix: rename variable for clarity in ChainSelector component
1 parent 271b063 commit dd515e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/navBar/ChainSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function ChainSelector({ className }: { className?: string }) {
1717
await switchChain(wagmiAdapter.wagmiConfig, { chainId });
1818
};
1919

20-
const filteredChains = getSupportedChains();
20+
const chains = getSupportedChains();
2121

2222
return (
2323
<Select
@@ -29,7 +29,7 @@ export function ChainSelector({ className }: { className?: string }) {
2929
<SelectValue placeholder="Select Chain" />
3030
</SelectTrigger>
3131
<SelectContent className="border-grey-600">
32-
{filteredChains.map((chain) => (
32+
{chains.map((chain) => (
3333
<SelectItem key={chain.id} value={chain.id.toString()}>
3434
<img src={chain.icon} className="size-4" alt="" /> {chain.name}
3535
</SelectItem>

0 commit comments

Comments
 (0)