This commit is contained in:
Kelvin
2025-01-14 01:30:41 -03:00
parent 2e7a2a05a5
commit b32226273e
7 changed files with 15 additions and 15 deletions

View File

@@ -86,7 +86,7 @@ export function SettingsDownloadSources() {
};
};
const handleRemoveAllDowloadSources = () => {
const handleRemoveAllDownloadSources = () => {
setIsRemovingDownloadSource(true);
const id = crypto.randomUUID();
@@ -157,7 +157,7 @@ export function SettingsDownloadSources() {
confirmButtonLabel={t("confirm_button_confirmation_delete_all_sources")}
descriptionText={t("description_confirmation_delete_all_sources")}
clickOutsideToClose={false}
onConfirm={handleRemoveAllDowloadSources}
onConfirm={handleRemoveAllDownloadSources}
visible={showConfirmationDeleteAllSourcesModal}
title={t("title_confirmation_delete_all_sources")}
onClose={() => setShowConfirmationDeleteAllSourcesModal(false)}