Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3499485
D5672.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D5672.diff
View Options
diff --git a/native/redux/redux-setup.js b/native/redux/redux-setup.js
--- a/native/redux/redux-setup.js
+++ b/native/redux/redux-setup.js
@@ -20,7 +20,6 @@
invalidSessionRecovery,
} from 'lib/shared/account-utils';
import { isStaff } from 'lib/shared/user-utils';
-import { logInActionSources } from 'lib/types/account-types';
import { defaultEnabledApps } from 'lib/types/enabled-apps';
import { defaultCalendarFilters } from 'lib/types/filter-types';
import type { Dispatch, BaseAction } from 'lib/types/redux-types';
@@ -387,24 +386,6 @@
if (isTaskCancelledError(e)) {
return;
}
- dispatch({
- type: setNewSessionActionType,
- payload: {
- sessionChange: {
- cookie: null,
- cookieInvalidated: false,
- currentUserInfo: state.currentUserInfo,
- },
- preRequestUserState: {
- currentUserInfo: state.currentUserInfo,
- sessionID: undefined,
- cookie: state.cookie,
- },
- error: null,
- logInActionSource: logInActionSources.sqliteOpFailure,
- },
- });
- await persistor.flush();
ExitApp.exitApp();
}
})();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 11:22 PM (11 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683854
Default Alt Text
D5672.diff (1 KB)
Attached To
Mode
D5672: [native] Don't call dispatch from reducer
Attached
Detach File
Event Timeline
Log In to Comment