Set reenter: false as it was originally

This commit is contained in:
Pierre Jacquier
2025-01-07 08:58:52 -05:00
parent 8e65fb8a4e
commit 18ccc18f24

View File

@ -1776,7 +1776,7 @@ export const modelingMachine = setup({
'Delete selection': {
target: 'Applying selection delete',
guard: 'has valid selection for deletion',
reenter: true,
reenter: false,
},
'Text-to-CAD': {
@ -2568,7 +2568,6 @@ export const modelingMachine = setup({
input: ({ event, context }) => {
console.log('event', event)
if (event.type !== 'Delete selection') return undefined
// TODO: there has to be a better way to pass `context` right?
if (!context.selectionRanges) return undefined
return { selection: context.selectionRanges }
},