[#17] Now have a download button to download a podcast episode.
This commit is contained in:
parent
5dfc18b22e
commit
1a5093dfdf
@ -23,7 +23,7 @@ export default function DownloadButton({
|
||||
debounceMs,
|
||||
disabled = false
|
||||
}: DownloadButtonProps) {
|
||||
const onClick = (e: React.MouseEvent<HTMLButtonElement>) => {
|
||||
const onClick = (e: React.MouseEvent<HTMLAnchorElement>) => {
|
||||
e.preventDefault();
|
||||
if (disabled) return;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user