Web: Client: Confirm: fixed api method call
This commit is contained in:
parent
28b047e93c
commit
3daee8efbb
@ -118,8 +118,8 @@ class Form extends React.PureComponent {
|
||||
|
||||
window.addEventListener("keydown", this.onKeyPress);
|
||||
window.addEventListener("keyup", this.onKeyPress);
|
||||
if (isAuthenticated) {
|
||||
api.user.logout;
|
||||
if (this.props.isAuthenticated) {
|
||||
api.user.logout();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user