diff --git a/src/components/HexValue.tsx b/src/components/HexValue.tsx index b07b473..88d6e0b 100644 --- a/src/components/HexValue.tsx +++ b/src/components/HexValue.tsx @@ -4,26 +4,8 @@ type HexValueProps = { value: string; }; -const HexValue: React.FC = ({ value }) => { - const shards: string[] = [value.slice(0, 10)]; - for (let i = 10; i < value.length; i += 8) { - shards.push(value.slice(i, i + 8)); - } +const HexValue: React.FC = ({ value }) => ( + {value} +); - return ( - <> - {shards.map((s, i) => ( - - {s} - - ))} - - ); -}; - -export default React.memo(HexValue); +export default HexValue;