From a4f4c5255771cfa8c52b6fb1577bc8cdf5ca4d1f Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Thu, 5 Dec 2024 12:47:46 +0700 Subject: [PATCH] fix timezone isn't updated on the onyx storage --- src/libs/Navigation/AppNavigator/AuthScreens.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.tsx b/src/libs/Navigation/AppNavigator/AuthScreens.tsx index 99cd1498511c..504aa5883620 100644 --- a/src/libs/Navigation/AppNavigator/AuthScreens.tsx +++ b/src/libs/Navigation/AppNavigator/AuthScreens.tsx @@ -168,7 +168,6 @@ Onyx.connect({ // If the current timezone is different than the user's timezone, and their timezone is set to automatic // then update their timezone. if (!isEmptyObject(currentTimezone) && timezone?.automatic && timezone?.selected !== currentTimezone) { - timezone.selected = currentTimezone; PersonalDetails.updateAutomaticTimezone({ automatic: true, selected: currentTimezone,