HomePhabricator
Diffusion Comm 5b9642aee34c

[web] Use dispatchActionPromise when logging out

Description

[web] Use dispatchActionPromise when logging out

Summary:
Instead of calling server directly, we need to use dispatchActionPromise function, so that relevant redux actions are dispatched.
Fixes https://linear.app/comm/issue/ENG-1604/clean-enabled-apps-on-logout

Test Plan: Log out and check if logout success action was dispatched.

Reviewers: jacek, atul, ashoat

Reviewed By: ashoat

Subscribers: ashoat, adrian, abosh

Differential Revision: https://phab.comm.dev/D4847

Details

Provenance
tomekAuthored on Aug 16 2022, 4:21 AM
Reviewer
ashoat
Differential Revision
D4847: [web] Use dispatchActionPromise when logging out
Parents
rCOMMb836238ee3e1: [native] Clean up `detect_abis.sh`
Branches
Unknown
Tags
Unknown