1
0
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:
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(); 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);