From 3e1c56bc51eede05505bc0ae604648c822e4299b Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Wed, 3 May 2023 22:05:47 -0700 Subject: [PATCH] Use concise message Avoids horizontal scrollbar on output --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 4695978..6bd9126 100644 --- a/index.html +++ b/index.html @@ -134,12 +134,12 @@ let output; if (metadata.bzzr0 !== undefined) { const hex = [...metadata.bzzr0].map(b => b.toString(16).padStart(2, '0')).join(''); - output = 'Unable to fetch metadata because the smart contract uses a Swarm hash. Swarm hash below:\n'; + output = 'Unable to fetch metadata because the smart contract uses a Swarm hash:\n'; output += `bzzr://${hex}`; } else if (metadata.bzzr1 !== undefined) { const hex = [...metadata.bzzr1].map(b => b.toString(16).padStart(2, '0')).join(''); - output = 'Unable to fetch metadata because the smart contract uses a Swarm hash. Swarm hash below:\n'; + output = 'Unable to fetch metadata because the smart contract uses a Swarm hash:\n'; output += `bzz-raw://${hex}`; } else { -- 2.47.3