diff --git a/sports-matcher/client/src/pages/Logout.js b/sports-matcher/client/src/pages/Logout.js index 74f75ff..b9e098c 100644 --- a/sports-matcher/client/src/pages/Logout.js +++ b/sports-matcher/client/src/pages/Logout.js @@ -22,7 +22,7 @@ export default class Logout extends React.Component { this.context.update({ user: null }); } - async componentWillUnmount() { + componentWillUnmount() { clearTimeout(this.redirectTimer); }