You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2021. It is now read-only.
First of all, thanks for this making this. It clarified a lot of react/redux concepts for me.
I opened this PR to point out that
/editor
page can be accessed without logging inMain reasons, in
reducers/common.js
When
ARTICLE_SUBMITTED
doesn't succeed, there is no article returned and an error is thrown. This might work betterIn
reducers/editor.js
, when you're not logged in the server returns a 401 and an error occurs below (Since the payload is empty):Changing the above to this works:
I've hardcoded "Unauthorized" here but I guess there might be much better approaches for this.
Just my two cents. Thanks for the amazing tutorial.
The text was updated successfully, but these errors were encountered: