Skip to content

Commit

Permalink
Merge branch 'main' into lyka/fix-tx-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pierregee authored Aug 11, 2023
2 parents d1f24fd + 7176139 commit ac020fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const securityHeaders = [
};` +
`style-src 'self' fonts.googleapis.com 'unsafe-inline';` +
`font-src fonts.gstatic.com;` +
`connect-src 'self' changi.ocean.jellyfishsdk.com blockscout-index.changi.dfi.team ${
`connect-src 'self' changi.ocean.jellyfishsdk.com changi.dfi.team ${
process.env.NODE_ENV === "development"
? `ws://localhost:3000/_next/webpack-hmr base-goerli.blockscout.com eth-goerli.blockscout.com`
: ""
Expand Down
6 changes: 3 additions & 3 deletions src/pages/address/[aid].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ function getAddressType({
switch (true) {
case isTokenPage:
return AddressType.Token;
case data.is_contract && data.token === null:
return AddressType.Contract;
case data.token !== null:
case data.is_contract && data.token !== null:
return AddressType.TokenContract;
case data.is_contract:
return AddressType.Contract;
default:
return AddressType.Wallet;
}
Expand Down

0 comments on commit ac020fc

Please sign in to comment.