Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<a> multiDownload(tracks.map(t => t.url))}>
download all
</a>
onClick={e => {
e.preventDefault()
multiDownload(tracks.map(t => t.download))
}}
>