fix: download not working
This commit is contained in:
parent
27dbd26459
commit
21d22ab5e8
1 changed files with 0 additions and 2 deletions
|
|
@ -42,9 +42,7 @@ export default function Card({ title, content, id, downloads }: Props) {
|
|||
{downloads.map((e, i) => (
|
||||
<li>
|
||||
<a
|
||||
href={e.link.toString()}
|
||||
key={i}
|
||||
download={e.filename}
|
||||
className="text-sky-600 underline"
|
||||
onClick={() => download(e.link, e.filename)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue