diff --git a/src/components/FileList/index.tsx b/src/components/FileList/index.tsx index 7cd30eb..ada596b 100644 --- a/src/components/FileList/index.tsx +++ b/src/components/FileList/index.tsx @@ -9,13 +9,15 @@ interface FileListProps { currentFile: CurrentUserFile setCurrentFile: (file: CurrentUserFile) => void handleDownload: () => void + downloadLabel?: string } const FileList = ({ files, currentFile, setCurrentFile, - handleDownload + handleDownload, + downloadLabel }: FileListProps) => { const isActive = (file: CurrentUserFile) => file.id === currentFile.id return ( @@ -41,7 +43,7 @@ const FileList = ({ ) diff --git a/src/pages/verify/index.tsx b/src/pages/verify/index.tsx index ceba0eb..46c9f48 100644 --- a/src/pages/verify/index.tsx +++ b/src/pages/verify/index.tsx @@ -538,6 +538,7 @@ export const VerifyPage = () => { currentFile={currentFile} setCurrentFile={setCurrentFile} handleDownload={handleExport} + downloadLabel="Download Sigit" /> )} {displayExportedBy()}