stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.93k stars 172 forks source link

Clicking on pricing from bolt.new overwrites the project #1565

Open ammbo opened 3 weeks ago

ammbo commented 3 weeks ago

Describe the bug

When I click on the link that says, "Subscribe to Pro for 66x more usage" the pricing modal opens and a bunch of toasts show errors. When I close the modal, my project in Bolt has been reset to a default project.

Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-xgngst?file=app%2Fmain-page.ts

Steps to reproduce

Go to bolt.new Start creating a project. Click on the upgrade CTA.

Expected behavior

Don't wipe my project or at least create a rollback point.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 129.0.0.0
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 125495975,
  "usedJSHeapSize": 106712147,
  "jsHeapSizeLimit": 4294705152
}
Hash = 34c588ed

Additional context

No response