diff --git a/src/components/app/nav.jsx b/src/components/app/nav.jsx index 4eb1d489..5450c477 100644 --- a/src/components/app/nav.jsx +++ b/src/components/app/nav.jsx @@ -63,7 +63,9 @@ class AppNav extends Component { // } this.setState({info}); }).catch(() => { - this.setState({info: null}); + alert('Github token is invalid.'); + this.onSignOut(); + this.setState({info: null, showModal: true}); }); };