Solid Tutorial Props Default breaks when solving/resetting in the greeting.tsx tab
Closed this issue · 1 comments
Brandontam29 commented
Describe the bug
If you are on the greeting.tsx tab when you press solve or reset, then main.tsx gets overwritten by what was in the greeting.tsx which breaks the code sandbox.
Your Example Website or App
https://www.solidjs.com/tutorial/props_defaults
Steps to Reproduce the Bug or Issue
- Go to https://www.solidjs.com/tutorial/props_defaults
- Press the greeting.tsx tab
- Press solve
- Refresh the code sand box
- Observe that the code sandbox has no display and that main.tsx has the wrong code
Expected behavior
You should see each file changing to their intended state instead being overwritten by the content of the other tabs.
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Edge
- Version: latest
Additional context
No response
davedbase commented
Thanks for this report. We will investigate this shortly!