fix: dl button from listing

This commit is contained in:
鲁树人 2023-05-15 00:28:42 +01:00
parent 55e2a4b7d3
commit 49fe534b51

View File

@ -87,8 +87,8 @@ export function FileRow({ id, file }: FileRowProps) {
<WrapItem>
{/* TODO: Use correct file name */}
{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>
)}
</WrapItem>