Removed unecessary async declaration.
This commit is contained in:
parent
fa8552d488
commit
0e218750f8
@ -22,7 +22,7 @@ export default class Logout extends React.Component {
|
|||||||
this.context.update({ user: null });
|
this.context.update({ user: null });
|
||||||
}
|
}
|
||||||
|
|
||||||
async componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
clearTimeout(this.redirectTimer);
|
clearTimeout(this.redirectTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user