- Added null check on household name update

This commit is contained in:
Dejan
2024-12-17 09:55:03 +01:00
parent f7860a5af8
commit 3564edadf2

View File

@ -121,7 +121,7 @@ const MyProfile = () => {
}, [profileData?.familyId]);
useEffect(() => {
setHouseholdName(hhName);
setHouseholdName(hhName ?? "");
}, [hhName]);
const pickImage = async () => {