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

files are emptied after creation of the project #6

Closed
yilmazdurmaz opened this issue Oct 3, 2024 · 1 comment
Closed

files are emptied after creation of the project #6

yilmazdurmaz opened this issue Oct 3, 2024 · 1 comment

Comments

@yilmazdurmaz
Copy link

Describe the bug

when creating multiple files, contents of the files other than the last one created are emptied.

I thought the content was permanently removed, but fortunately "Ctrl+Z" undo this removal.

It is, however, very annoying and most people will assume it is a permanent deletion.

Link to the Bolt URL that caused the error

do not matter

Steps to reproduce

1- go to "bolt.new"
2- try a long prompt so it will create a multi-file project.
3- watch every file being created one by one
4- after the last file is written, open al other files to see them being empty.
and
5- press undo to undo deleted file contents.

Expected behavior

file contents are not deleted

Screenshots

No response

Platform

  • Windows 10 22H2 64bit up-to-date
  • Edge 129.0.2792.65 (Official build) (64-bit) up-to-date

Additional context

No response

@samdenty
Copy link
Contributor

samdenty commented Oct 4, 2024

This issue was caused by a Remix React SSR Hydration mismatch, because a browser extension (or this browser itself) modified the dom. We've just shipped a fix, feel free to test and report back

@samdenty samdenty closed this as completed Oct 4, 2024
igoraguiar pushed a commit to igoraguiar/bolt.new that referenced this issue Oct 23, 2024
added download button to downloade generated code in a zip file
GQAdonis pushed a commit to tribe-health/bolt.new-extended that referenced this issue Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants