Skip to content

fix: sidebar state on morph-apply#203

Open
bxxf wants to merge 3 commits intoe2b-dev:mainfrom
bxxf:main
Open

fix: sidebar state on morph-apply#203
bxxf wants to merge 3 commits intoe2b-dev:mainfrom
bxxf:main

Conversation

@bxxf
Copy link

@bxxf bxxf commented Jan 8, 2026

Fixes sidebar state getting broken whilst switching to "morph apply" - ie. sidebar cant be closed when using morph apply feature.

The way this works is basically by decoupling the sidebar state from the API route - thus preventing unwanted reloads and re-renders caused by side-effects.

@vercel
Copy link

vercel bot commented Jan 8, 2026

@bxxf is attempting to deploy a commit to the E2B Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Jan 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
fragments Ready Ready Preview, Comment Jan 8, 2026 2:12pm

@mishushakov
Copy link
Member

doesn't work for me (check console logs)
Screenshot 2026-01-12 at 14 20 59

@bxxf
Copy link
Author

bxxf commented Jan 12, 2026

i can't access the preview link - i requested access. anyway, i will try to reproduce prod build locally to see if i can get the same error

// reproduced, will fix

@bxxf
Copy link
Author

bxxf commented Jan 12, 2026

should be fixed hopefully, the issue was that we were passing call on the first iteration to morphllm, even though there was no file to edit yet - so it tried to access "path of undefined" basically

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

Successfully merging this pull request may close these issues.

3 participants