Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Nov 11, 2024
1 parent a49255f commit 0459273
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tasks/src/localnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ const localnet = async (args: any) => {
});

// Get unique chains
const chains = [...new Set(addresses.map((item) => item.chain))];
const chains = [...new Set(addresses.map((item: any) => item.chain))];

// Create tables for each chain
chains.forEach((chain) => {
const chainContracts = addresses
.filter((contract) => contract.chain === chain)
.reduce((acc: any, { type, address }) => {
.filter((contract: any) => contract.chain === chain)
.reduce((acc: any, { type, address }: any) => {
acc[type] = address;
return acc;
}, {});
Expand Down

0 comments on commit 0459273

Please sign in to comment.