Entire UI elements are disappearing after making changes

I am trying to prototype a new dashboard and everything was working fine up until yesterday. Now when I make any changes to any part of the prototype it is making the whole main area of the dashboard disappear. For example, I tried to change the styling of an item in the left nav-bar and all of the main content has disappeared, despite no changes being made to that code and I’ve double checked the diffs too.

Now when I try to restore to a previously working version it deletes huge amounts of the code that was previously working fine and breaks the entire project. Anyone know a way to try to get out of this?

Hi, ADoherty! Welcome to the Vercel Community :wave:

I’ve seen this in my own projects as well, and I’ve had to explicitly say “keep everything the same, just do XYZ.” What are the prompts you’re writing?

This is how I’ve gotten around it for now. Appreciate you sharing this feedback, we’ll make sure that the v0 team sees this.

By the way, we recently shipped this post which may be helpful as you navigate v0. :smile:

Thanks Pauline, I tried playing around with some prompts but I couldn’t get it to work, every iteration just broke the UI no matter what I tried. What I did do though was go back to the last version that was working as expected and created a fork from it. Once I was starting from a clean base then it worked as expected again and no problems since. Just because I had tried restoring a bunch of times and had been changing code on the fly it might just have caused some strange issues.

Heard - thank you for the feedback!

Appreciate you also sharing what worked for you. In previous Community Sessions, creating a fork of your chat often was also recommended.

I’ll close this out for now, and mark your message as the solution but please do come back if you have any other questions!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.