🐛 Bug Report
When an authorized user re-authorizes with an invalid token, the issue list is still shown and user is able to refresh the issue list with the invalid token.
To Reproduce
Steps to reproduce the behavior:
- Open the app
- Navigate to Token page
- Provide a valid personal access token and click Authorize button
- Go to Issues page and inspect the issue list
- Go to Token page, provide an invalid personal access token and click Authorize button
- Go back to Issues page, the issue list is showing the same items as before
- If clicking Refresh button, error message invalid personal access token is popped up
Expected behavior
The Sign-In component should be shown instead of Issue list.