diff --git a/src/libs/actions/App.js b/src/libs/actions/App.js index 25d14818f279..e6914a2ceff0 100644 --- a/src/libs/actions/App.js +++ b/src/libs/actions/App.js @@ -210,15 +210,13 @@ function setUpPoliciesAndNavigate(session, currentPath) { function openProfile() { const oldTimezoneData = myPersonalDetails.timezone || {}; - let newTimezoneData; + let newTimezoneData = oldTimezoneData; if (lodashGet(oldTimezoneData, 'automatic', true)) { newTimezoneData = { automatic: true, selected: moment.tz.guess(true), }; - } else { - newTimezoneData = oldTimezoneData; } API.write('OpenProfile', {