|
|
@@ -190,6 +190,7 @@ class BasicVersion extends Component {
|
|
|
userID={this.state.userID}
|
|
|
languageButton={this.state.languageButton}
|
|
|
changeLocale={this.changeLocale}
|
|
|
+ history={this.props.history}
|
|
|
/>
|
|
|
}
|
|
|
|
|
|
@@ -275,6 +276,9 @@ class User extends Component {
|
|
|
<a href='https://www.ioobot.com' onClick={(e) => {
|
|
|
e.preventDefault();
|
|
|
this.logout();
|
|
|
+ this.props.history.push({
|
|
|
+ pathname: '/'
|
|
|
+ })
|
|
|
}}><FormattedMessage id="exit"/></a>
|
|
|
</Menu.Item>
|
|
|
</Menu>
|