fix(verify-page): map item keys
This commit is contained in:
parent
8c974768a8
commit
58f70db7f6
@ -48,6 +48,7 @@ import { TooltipChild } from '../../components/TooltipChild.tsx'
|
||||
import FileList from '../../components/FileList'
|
||||
import { CurrentUserFile } from '../../types/file.ts'
|
||||
import { Mark } from '../../types/mark.ts'
|
||||
import React from 'react'
|
||||
|
||||
interface PdfViewProps {
|
||||
files: CurrentUserFile[]
|
||||
@ -78,11 +79,10 @@ const SlimPdfView = ({
|
||||
const signatureEvents = Object.keys(parsedSignatureEvents)
|
||||
if (!hash) return
|
||||
return (
|
||||
<>
|
||||
<React.Fragment key={filename}>
|
||||
<div
|
||||
id={filename}
|
||||
ref={(el) => (pdfRefs.current[id] = el)}
|
||||
key={filename}
|
||||
className={styles.fileWrapper}
|
||||
>
|
||||
{pdfFile.pages.map((page, i) => {
|
||||
@ -132,7 +132,7 @@ const SlimPdfView = ({
|
||||
File Separator
|
||||
</Divider>
|
||||
)}
|
||||
</>
|
||||
</React.Fragment>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user