fix: dl button from listing

This commit is contained in:
鲁树人 2023-05-15 00:28:42 +01:00
parent c07c893767
commit ea9f6c0899

View File

@ -87,8 +87,8 @@ export function FileRow({ id, file }: FileRowProps) {
<WrapItem> <WrapItem>
{/* TODO: Use correct file name */} {/* TODO: Use correct file name */}
{file.decrypted && ( {file.decrypted && (
<Link type="button" as={Button} isExternal href={file.decrypted} download={decryptedName}> <Link isExternal href={file.decrypted} download={decryptedName}>
<Button as="span"></Button>
</Link> </Link>
)} )}
</WrapItem> </WrapItem>