Skip to content
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

Update MyVotes (#2991, #2986) #4262

Closed

Conversation

chrlschwb
Copy link
Contributor

@chrlschwb chrlschwb commented Mar 23, 2023

fixes issues #2991, #2986

@vercel
Copy link

vercel bot commented Mar 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
dao ✅ Ready (Inspect) Visit Preview Mar 23, 2023 at 3:24PM (UTC)
pioneer-2 ✅ Ready (Inspect) Visit Preview Mar 23, 2023 at 3:24PM (UTC)
pioneer-2-storybook ✅ Ready (Inspect) Visit Preview Mar 23, 2023 at 3:24PM (UTC)

Copy link
Contributor

@traumschule traumschule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. [USERSNAP] Restore Votes does not upate My Votes #2991: I don't see an automatic update after restoring. After switching to another page and back to election restored votes are shown correctly.
  2. After voting My Votes is not updated #2986: This seems to work on https://pioneerapp.xyz already?

setItem(key, value)
document.dispatchEvent(new CustomEvent(`storage_event_${key}`, {}))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the code it's not obvious what we are saving and why. Maybe add a comment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants