Tx page issue (#7)

* fix: search bar fix if number input, add badge (#2)

* fix: search bar fix if number input, add badge
for type in search bar, horfix for direct link in inventory page

* fix: theme mode blink page

* fix: write boolean in tx page

* fix: styles for contract tab in address page

* fix: remove btn

* fix: env, results per page go to first page
in grid. fix path for REACT_APP_EXPLORER_V1_API_URL

* Update .env.example

* fix: improve

* fix: stable .env

Co-authored-by: potvik <57394565+potvik@users.noreply.github.com>
pull/8/head
vpcodebase 3 years ago committed by GitHub
parent e55501d6c1
commit 5237022f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .env.example
  2. 10
      src/web3/parseByteCode.tsx

@ -3,7 +3,7 @@ REACT_APP_RPC_URL_SHARD1=https://api.s1.t.hmny.io/
REACT_APP_RPC_URL_SHARD2=https://api.s2.t.hmny.io/
REACT_APP_RPC_URL_SHARD3=https://api.s3.t.hmny.io/
REACT_APP_AVAILABLE_SHARDS=0,1,2,3
REACT_APP_EXPLORER_V1_API_URL=https://explorer.pops.one:8888
REACT_APP_EXPLORER_V1_API_URL=https://explorer.pops.one:8888/
REACT_APP_INDEXER_IPFS_GATEWAY=https://ipfs.io/ipfs/
REACT_APP_PROD_ADDRESS=https://explorer-v2-api.hmny.io/
REACT_APP_DEV_ADDRESS=https://ws.explorer-v2.hmny.io/

@ -148,14 +148,16 @@ export const DisplaySignature = (props: any = {}) => {
parsed[input.name].map((a: any, i: number) => {
return (
<>
<Address key={a} address={a.toLowerCase()} />
<Address key={a} address={a?.toLowerCase()} />
{i < parsed[input.name].length - 1 && ", "}
</>
);
})
) : (
<Address address={parsed[input.name].toLowerCase()} />
)
) : parsed[input?.name?.toString()] ? (
<Address
address={parsed[input?.name?.toString()]?.toLowerCase()}
/>
) : null
) : Array.isArray(parsed[input.name]) ? (
parsed[input.name].join(", ")
) : (

Loading…
Cancel
Save