Browse Source

Update binary data canvas

Fix first byte not being displayed correctly.
pull/1/head
TheoryOfNekomata 1 year ago
parent
commit
8ab40736f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      packages/web-kitchensink-reactnext/src/packages/react-binary-data-canvas/index.tsx

+ 1
- 1
packages/web-kitchensink-reactnext/src/packages/react-binary-data-canvas/index.tsx View File

@@ -94,7 +94,7 @@ export const BinaryDataCanvas = React.forwardRef<BinaryDataCanvasDerivedElement,
{ {
bytesGrouped.map((line: number[], l) => ( bytesGrouped.map((line: number[], l) => (
<React.Fragment key={l}> <React.Fragment key={l}>
{l > 0 && '\n'}
{'\n'}
<span <span
className={lineClassName} className={lineClassName}
> >


Loading…
Cancel
Save