vocdoni / ui-scaffold

Vocdoni's protocol UI
https://app.vocdoni.io
GNU Affero General Public License v3.0
5 stars 2 forks source link

Invariant failed sometimes when accessing form Confirm step #464

Open elboletaire opened 10 months ago

elboletaire commented 10 months ago

I don't have much information on this one, but happened me at least three times already.

When accessing the Confirm step, the cost preview component stays with a spinner. If you open the console, an "invariant failed" error is logged in there. You can workaround this by just getting a step back and forward again, but there's clearly something wrong there.

ferranrego commented 8 months ago

I encounter the same error when I click the "Create" button to create a vote (using Github accounts for the census).

Sharing the console: image

elboletaire commented 8 months ago

I encounter the same error when I click the "Create" button to create a vote (using Github accounts for the census).

Adding this just as a clarification: this case might be different; I assume your case cannot be workaround by getting back and forward like I described initially, since it looks like a csp census issue. It's ok to have it tracked down here: the final error is the same, but both issues may require different fixes.

selankon commented 5 months ago

Is this duplicated of? https://github.com/vocdoni/ui-scaffold/issues/496

elboletaire commented 5 months ago

Is this duplicated of? #496

No need to cross-ask :) As I said there, this happened with censuses different than the CSP one, so it should not be related.