cjolowicz / muckr-web

Web app for muckr
https://muckr-web.herokuapp.com
MIT License
0 stars 0 forks source link

Previous fetch error redisplayed when artists are fetched successfully #134

Open cjolowicz opened 4 years ago

cjolowicz commented 4 years ago

This may be caused by not resetting message on FETCH_ARTIST_SUCCESS. 7eeb6adbcdec459900173d2f13bd0d1a2710bafa in #128

cjolowicz commented 4 years ago

To reproduce:

  1. Reload /artists with stale token.
  2. Login.

The first fetch displays the error message and redirects to /login. On successful login, the app redirects to /artists, artists are fetched successfully, and the error message is displayed again.