DemocracyLab / DemocracyLab/CivicTechExchange

Clicking back from Signup/Forgot password crashes page

Open
#696 0 comments 0 reactions 2 assignees Claimed by @Workhqd View on GitHub
Front End
Dominant language
JavaScript
Stars
105
Forks
71
PR merge metrics
No merged PRs in 30d

Description

If one clicks on 'Don't Have an Account' or 'Forgot Password' on the Login page, and then click back, the screen goes blank with the following error message.

Uncaught Invariant Violation: Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch.
at invariant (http://127.0.0.1:8000/static/js/vendors.bundle.js:26488:15)
at Dispatcher.dispatch (http://127.0.0.1:8000/static/js/vendors.bundle.js:26787:37)
at PureComponent._handleHeightChange (http://127.0.0.1:8000/static/js/main.bundle.js:952:79)
at PureComponent._onAlertHeaderUpdate (http://127.0.0.1:8000/static/js/main.bundle.js:947:12)
at PureComponent.componentDidUpdate (http://127.0.0.1:8000/static/js/main.bundle.js:148:20)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.