Skip to content

Commit

Permalink
[DASH-635] Fix useActiveWalletChain not returning custom chain
Browse files Browse the repository at this point in the history
  • Loading branch information
MananTank committed Dec 16, 2024
1 parent b173ad2 commit 00ff86a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/dashboard/src/hooks/chains/allChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ function createAllChainsStore() {
for (const c of chainOverrides) {
if (c.isCustom) {
allChains.push(c);
// eslint-disable-next-line no-restricted-syntax
allChainsV5.push(mapV4ChainToV5Chain(c));
idToChain.set(c.chainId, c);
nameToChain.set(c.name, c);
slugToChain.set(c.slug, c);
Expand Down

0 comments on commit 00ff86a

Please sign in to comment.