Remove success and error banners when attempting a new import

This commit is contained in:
Pierre HUBERT 2023-08-25 14:44:14 +02:00
parent b9fae8e2aa
commit fb0a9d8287

View File

@ -193,6 +193,9 @@ function FamilyExportCard(): React.ReactElement {
});
if (file === null) return;
setError(undefined);
setSuccess(undefined);
loading.show("Restauration des données de la famille en cours...");
await DataApi.ImportData(family.familyId, file);