diff --git a/packages/website/components/account/filesManager/fileRowItem.js b/packages/website/components/account/filesManager/fileRowItem.js index 99c2311328..016165b777 100644 --- a/packages/website/components/account/filesManager/fileRowItem.js +++ b/packages/website/components/account/filesManager/fileRowItem.js @@ -73,6 +73,7 @@ const FileRowItem = props => { const statusMessages = fileRowLabels.status.tooltip; /** @type {import('react').RefObject} */ const editingNameRef = useRef(null); + const truncatedCID = useMemo(() => truncateString(cid, 5, '...', 'double'), [cid]); const statusTooltip = useMemo( () => ({ @@ -125,14 +126,18 @@ const FileRowItem = props => { {fileRowLabels.cid.label} - - {useMemo(() => truncateString(cid, 5, '...', 'double'), [cid])} - + {isHeader ? ( + {cid} + ) : ( + + {truncatedCID} + + )} {cid} {isHeader ? (