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
I have the issue that when I hit the vote button, the page is not refreshed. So when I hit the vote button again the page crashed with the error Already voted for link.
Is this only happening to me?
The text was updated successfully, but these errors were encountered:
@kwoxer I noticed this too. There is a slight delay, but it does refresh on its own eventually (within a few seconds). I think that throwing the error is by design, as you can see on the server side that it will throw an error if you try voting again.
if (linkExists) { throw new Error(Already voted for link: ${args.linkId}) }
Also, something that is related, that I am dealing with. Did you see the vote refresh on the frontend on its own, without the need to update the local cache. For me, if I click, and wait a few seconds, the vote increases by 1. I can remove the "updateStoreAfterVote" prop from the mutation, and the vote still increases. Anyone seeing this?
I have the issue that when I hit the vote button, the page is not refreshed. So when I hit the vote button again the page crashed with the error
Already voted for link
.Is this only happening to me?
The text was updated successfully, but these errors were encountered: