From 7124c6a71683e61f26f5d318805081eb00a941b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Ch=C3=A1vez?= Date: Tue, 9 Jul 2024 12:28:55 -0600 Subject: [PATCH] chore: Remove unnecessary code in updateAutomaticTimezone function --- src/libs/actions/PersonalDetails.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libs/actions/PersonalDetails.ts b/src/libs/actions/PersonalDetails.ts index 5870d642d8cd..6fd780967b93 100644 --- a/src/libs/actions/PersonalDetails.ts +++ b/src/libs/actions/PersonalDetails.ts @@ -191,10 +191,6 @@ function updateAddress(street: string, street2: string, city: string, state: str * selected timezone if set to automatically update. */ function updateAutomaticTimezone(timezone: Timezone) { - if (Session.isAnonymousUser()) { - return; - } - if (!currentUserAccountID) { return; }