Skip to content

Commit ad82a9d

Browse files
authored
Python vibe coding IDE fix (#1268)
### Description Small bugfix for build ### Demo URL ### Type of Change - [ ] New Example - [x] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered?
1 parent ad66b59 commit ad82a9d

File tree

1 file changed

+1
-1
lines changed
  • python/vibe-coding-ide/frontend/src/app

1 file changed

+1
-1
lines changed

python/vibe-coding-ide/frontend/src/app/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ function App() {
380380
projects.find((p) => p.id === activeProjectId)?.name ||
381381
'project'
382382
).replace(/\s+/g, '_')
383-
const folder = zip.folder(rootName)
383+
const folder = zip.folder(rootName) ?? zip
384384
// Include all current project files; proposals are suggestions only
385385
Object.entries(project).forEach(([path, content]) => {
386386
const normalized = (path || '').replace(/^\//, '')

0 commit comments

Comments
 (0)