Skip to content

Add catch for empty program in getOperationVariableName #7752

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pierremtb
Copy link
Contributor

@pierremtb pierremtb commented Jul 10, 2025

Gets rid of these logs

undefined > getNodeFromPath > getOperationVariableName > http://localhost:5173/src/components/ModelingSidebar/ModelingPanes/FeatureTreePane.tsx:377:12 > updateMemo > Object.useMemo > useMemo > OperationItem > renderWithHooks > updateFunctionComponent > beginWork 

And potentially fixes #7686

Copy link

vercel bot commented Jul 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2025 8:24pm

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.

Sketch tools are cancelled mid-action when the feature tree rebuilds, and place a point instead
1 participant