change addpatient widget to accept signedin user and arg
This commit is contained in:
@@ -58,7 +58,7 @@ class _AddOrViewPatientState extends State<AddOrViewPatient> {
|
||||
return PatientView(selectedPatient: snapshot.data!);
|
||||
}
|
||||
}
|
||||
return AddPatient(userEmail: widget.signedInUser.email);
|
||||
return AddPatient(signedInUser: widget.signedInUser);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user