-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display error message when unauthorized #164
Conversation
Like it! |
@@ -102,6 +104,11 @@ const PolicyForm = ({ | |||
|
|||
setLoading(false); | |||
|
|||
if (response.status === StatusCodes.FORBIDDEN) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened an issue to address the redundancy of these checks: #165
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested this locally in a few places and everything works the way I expect it to.
LGTM, nice work!
Closes #155
Closes #128