clear download queue text on submit

This commit is contained in:
Simon
2025-01-30 20:29:28 +07:00
parent 937ff5c92c
commit 2a331f855c

View File

@@ -182,6 +182,7 @@ const Download = () => {
label="Add to queue"
onClick={async () => {
await updateDownloadQueue(downloadQueueText, false);
setDownloadQueueText('');
setRefresh(true);
setShowHiddenForm(false);
}}
@@ -190,6 +191,7 @@ const Download = () => {
label="Download now"
onClick={async () => {
await updateDownloadQueue(downloadQueueText, true);
setDownloadQueueText('');
setRefresh(true);
setShowHiddenForm(false);
}}