-
-
TRANSACTIONS
-
- {formatNumber(b.tx_count).toLocaleString()}
+
+
+
TRANSACTIONS
+
+ {formatNumber(b.tx_count).toLocaleString()}
+
-
-
-
SIZE
-
- {formatVMB(b.size, "MB")}
+
+
SIZE
+
+ {formatVMB(b.size, "MB")}
+
-
-
-
-
- {getBlockPercentageUsed(b.weight)}%
-
-
-

-
- How full this block is.
+
+
+
+ {getBlockPercentageUsed(b.weight)}%
+
+
+

+
+ How full this block is.
+
-
-
-
-
- ))}
-
- )}
- {blocks && viewMore ? (
-
- {t`See more`}
-
-

+
+ ))}
-
- ) : (
- ""
+
+ {blocks && viewMore ? (
+
+ {t`See more`}
+
+

+
+
+ ) : (
+ ""
+ )}
+
)}
);
diff --git a/client/src/views/network-selection.js b/client/src/views/network-selection.js
index cd2f3660..f885d5f5 100644
--- a/client/src/views/network-selection.js
+++ b/client/src/views/network-selection.js
@@ -7,8 +7,10 @@ const staticRoot = process.env.STATIC_ROOT || "";
const siteRoot = process.env.BASE_PREFIX || "";
const withRoot = (url) => (siteRoot && url && url.charAt(0) === "/" ? siteRoot + url : url);
const itemEntries = items ? Object.entries(items) : [];
+const networkId = name => name.replace(/ /g, "");
+const networkIconSrc = name => `${staticRoot}img/icons/${networkId(name)}-menu-logo.svg`;
const activeName = active || (itemEntries[0] && itemEntries[0][0]);
-const activeId = activeName && activeName.replace(/ /g, "");
+const activeId = activeName && networkId(activeName);
export default ({ t, page }) => (
@@ -25,10 +27,10 @@ export default ({ t, page }) => (

-
{t(activeName)}
+
{t(activeName)}