diff --git a/public/common/explorer.js b/public/common/explorer.js index a28623b..6bcbb3a 100644 --- a/public/common/explorer.js +++ b/public/common/explorer.js @@ -1,6 +1,7 @@ // @ts-check import crel, { fragment } from "./crel.js"; +import pluralize from "./pluralize.js"; import formatBytes from "./formatBytes.js"; import allChildrenOf from "./allChildrenOf.js"; import * as nodePath from "./nodePath.js"; @@ -187,7 +188,7 @@ const traverse = (node, path, getNodeUi) => { crel( "span", { "class": "bytecount" }, - "TODO: X bytes", + pluralize(node.bytes.byteLength, "byte"), ), ), description,