diff --git a/src/components/CTypeDetails/CTypeDetails.astro b/src/components/CTypeDetails/CTypeDetails.astro index 6f02bf30..bb708cce 100644 --- a/src/components/CTypeDetails/CTypeDetails.astro +++ b/src/components/CTypeDetails/CTypeDetails.astro @@ -53,7 +53,7 @@ linkToW3N.pathname = web3Name ?? creator; const linkToBlock = new URL(`https://polkadot.js.org/apps/`); linkToBlock.searchParams.set('rpc', blockchainEndpoint); -linkToBlock.hash = `/explorer/query/${block}`; +linkToBlock.hash = `/explorer/${block ? 'query/' + block : ''}`; ---
@@ -99,9 +99,7 @@ linkToBlock.hash = `/explorer/query/${block}`;
Registration Block - - {block} - + {block}
{ diff --git a/src/components/CTypeOverview/CTypeOverview.astro b/src/components/CTypeOverview/CTypeOverview.astro index 88e9244a..9efb587c 100644 --- a/src/components/CTypeOverview/CTypeOverview.astro +++ b/src/components/CTypeOverview/CTypeOverview.astro @@ -16,7 +16,7 @@ const { title, id, description, attestationsCreated, tags } =
  • - {title} + {title || '∅'}