Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3527812
D5672.id18623.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.id18623.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';
@@ -383,24 +382,6 @@
}
await Promise.all(promises);
} catch {
- 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
Wed, Dec 25, 6:53 AM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2701867
Default Alt Text
D5672.id18623.diff (1 KB)
Attached To
Mode
D5672: [native] Don't call dispatch from reducer
Attached
Detach File
Event Timeline
Log In to Comment