-
-
Notifications
You must be signed in to change notification settings - Fork 771
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
Cart keeps loading forever #7458
Comments
heya @zkeducation do you see any errors in your console? @mds1 mind trying to reproduce this? |
Hey @zkeducation! Right now this can happen if (1) you don't have a wallet connected, or (2) if you're using MetaMask but it's locked. We're deploying a fix for both of those today. If those aren't the cause in your case, like @owocki said any additional details you can provide to help reproduce it would be helpful! |
Hi @mds1 , I'm facing the same issue here. Regarding:
Here are screenshots from the console as suggested by @owocki I was working fine for the first check-out. Then the next day the issue popped up. Let me know if you need any extra info. Thanks guys |
@RockmanR Hmm, that's odd. I'll have to figure out how to reproduce this. You could try clearing the cart and re-adding them from the grants page. I believe there was a very recent upgrade to how cart items were handled so I'd guess this would fix it. It's possible you already had items in your cart, then the changes were deployed, putting things in a weird state |
Maybe what you said is true. Probably it started when I clicked on Banteg's shared cart in twitter (https://twitter.com/bantg/status/1307707668409319426?s=20). I saw the list once, then the issue started the moment I added stuff to it (maybe). I'll try to clear it out and and add the projects again :( |
I just tried adding Banteg's items to my cart and it seemed to have worked, so that's good. Also as a sanity check make sure MetaMask is unlocked and on mainnet! |
One more thought — you could also try a hard refresh of the browser to make sure nothing is being cached since we just pushed that update |
Can you click on share cart and paste the link here? |
also are all the grants on your cart to dai? or is one with a diff token? |
Ok, I think I know how to reproduce the issue.
|
They are in Dai and Eth. as you will see from the link |
It definitely is happening when you delete grants from a preloaded cart |
Hey @GriffGreen sorry for the late response here. And sorry that all your comments are lost 😕 Can you elaborate a bit on the cause you found and how to reproduce this? |
I replicated the steps without luck the first time, but a second time gave me the error, I wonder if depends the grant you delete. |
@mds1 seems the problem is with the exchange calculation , as still trying to fetch data for something that doesn't exist TO REPRODUCE THIS ERROR So the problem is on the removal is removing the grant but also data from the last one. |
Ok @GriffGreen @RockmanR @zkeducation I have a quick dirty snipped if you not cleared your cart and want to recover the data. this code will just remove the last one you had on your cart. Open console, paste this and hit enter:
Reload window. |
I was trying to take out the DAI grants in this cart in a brave browser: If you delete 1 or 2 of them the front end looks fine... I think, but delete the third and then the grant still just sits there. And even if i just delete 1 of them, and then try to share the cart... the cart wont load... it keeps loading forever. |
wow that is a lot of grants, probably is the same problem, something on the function to delete grants is not working properly. |
Fix ready in #7573! @GriffGreen If you haven't cleared your cart, the page will now load and the buggy cart entries will default to 0.001 ETH, and all your comments will be saved |
@GriffGreen @RockmanR @zkeducation fix was deployed, just tested and is working fine!!! Sorry for the inconvenience. |
* Fix bugs in #7458 that happen when items are removed from cart (#7573) * hide events when no calendar id is associated (#7575) * round end * calendar * fixes timer on /grants * send ga on edit profile * onboard darkmode * missing dark mode * track related grants, useful for sybil resistence Co-authored-by: Matt <matt@mattsolomon.dev> Co-authored-by: Miguel Angel Gordián <miguel@gordian.dev> Co-authored-by: owocki <ksowocki@gmail.com> Co-authored-by: octavioamu <octavioamuchastegui@gmail.com>
Describe the bug
<The cart loading icons keep cycling forever, everything else is working as normal.-->
To Reproduce
Screenshots
<
-->
Desktop :
The text was updated successfully, but these errors were encountered: