[#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,
|
debounceMs,
|
||||||
disabled = false
|
disabled = false
|
||||||
}: DownloadButtonProps) {
|
}: DownloadButtonProps) {
|
||||||
const onClick = (e: React.MouseEvent<HTMLButtonElement>) => {
|
const onClick = (e: React.MouseEvent<HTMLAnchorElement>) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (disabled) return;
|
if (disabled) return;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user