From 8f32eb6dacfc37576c6b93eb8a7a5758aceeb0d0 Mon Sep 17 00:00:00 2001 From: Florian Boulnois Date: Tue, 12 Nov 2024 09:51:13 -0500 Subject: [PATCH] fix: switch default email preference to undefined --- src/pages/user_profile/UserProfile.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/user_profile/UserProfile.jsx b/src/pages/user_profile/UserProfile.jsx index 3a738534a..7135616b7 100644 --- a/src/pages/user_profile/UserProfile.jsx +++ b/src/pages/user_profile/UserProfile.jsx @@ -27,7 +27,7 @@ export default function UserProfile(props) { const [profile, setProfile] = useState({ profileName: '', email: undefined, - emailPreference: false, + emailPreference: undefined, id: undefined });