Refactor providers call
This commit is contained in:
@@ -28,7 +28,7 @@ export function CreateFamilyDialog(p: {
|
||||
await FamilyApi.CreateFamily(name);
|
||||
setName("");
|
||||
p.onCreated();
|
||||
await alert.alert("La famille a été créée avec succès !");
|
||||
await alert("La famille a été créée avec succès !");
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
setError(true);
|
||||
|
||||
Reference in New Issue
Block a user