1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Instead of transition from logout to login, we replace the state

This commit is contained in:
Tim Daubenschütz 2015-09-28 17:21:34 +02:00
parent 9045b9ec01
commit 4be3040396

View File

@ -19,7 +19,7 @@ let LogoutContainer = React.createClass({
Alt.flush();
// kill intercom (with fire)
window.Intercom('shutdown');
this.transitionTo(baseUrl);
this.replaceWith(baseUrl);
})
.catch((err) => {
console.logGlobal(err);