mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
Instead of transition from logout to login, we replace the state
This commit is contained in:
parent
9045b9ec01
commit
4be3040396
@ -19,7 +19,7 @@ let LogoutContainer = React.createClass({
|
|||||||
Alt.flush();
|
Alt.flush();
|
||||||
// kill intercom (with fire)
|
// kill intercom (with fire)
|
||||||
window.Intercom('shutdown');
|
window.Intercom('shutdown');
|
||||||
this.transitionTo(baseUrl);
|
this.replaceWith(baseUrl);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.logGlobal(err);
|
console.logGlobal(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user