[#17] Now have a download button to download a podcast episode.

This commit is contained in:
Justin Walrath 2025-05-14 18:03:56 -04:00
parent 5dfc18b22e
commit 1a5093dfdf

View File

@ -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;