fix: dl button from listing

This commit is contained in:
Jixun Wu 2023-05-15 00:28:42 +01:00
parent c07c893767
commit ea9f6c0899
1 changed files with 2 additions and 2 deletions

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>