lint ide fix

1spacelint
bunsenstraat 1 year ago
parent ff91f929d2
commit a400388344
  1. 2
      apps/remix-ide/ci/splice_tests.js
  2. 2
      apps/remix-ide/src/app/tabs/search.tsx
  3. 6
      apps/remix-ide/src/blockchain/helper.ts

@ -24,4 +24,4 @@ exec(cmd, (error, stdout, stderr) => {
parts.push(files.slice(i * splitIndex, (i + 1) * splitIndex))
}
console.log(parts[job].join('\n'))
});
});

@ -14,7 +14,7 @@ const profile = {
documentation: '',
version: packageJson.version,
maintainedBy: 'Remix'
}
}
export class SearchPlugin extends ViewPlugin {

@ -5,10 +5,10 @@ const transactionDetailsLinks = {
Kovan: 'https://kovan.etherscan.io/tx/',
Goerli: 'https://goerli.etherscan.io/tx/',
Sepolia: 'https://sepolia.etherscan.io/tx/'
}
}
export function etherScanLink (network: string, hash: string): string {
export function etherScanLink (network: string, hash: string): string {
if (transactionDetailsLinks[network]) {
return transactionDetailsLinks[network] + hash
}
}
}
Loading…
Cancel
Save