Solutionunvalidated
Do not reset the entire API slice state during the mutation lifecycle; instead rely on the sendLogout trigger promise/unwrap (or on isSuccess without resetting) to run navigate("/") after the mutation succeeds.
784f7de8-8d0e-4eb3-a6fe-30aec3f6417c
Do not reset the entire API slice state during the mutation lifecycle; instead rely on the sendLogout trigger promise/unwrap (or on isSuccess without resetting) to run navigate("/") after the mutation succeeds.