remove debug log (#3853)

This commit is contained in:
Kurt Hutten
2024-09-11 06:09:39 +10:00
committed by GitHub
parent f9eef6397f
commit 394872d84e

View File

@ -466,10 +466,7 @@ export const modelingMachine = setup({
'next is rectangle': ({ context: { sketchDetails, currentTool } }) => 'next is rectangle': ({ context: { sketchDetails, currentTool } }) =>
currentTool === 'rectangle' && canRectangleTool({ sketchDetails }), currentTool === 'rectangle' && canRectangleTool({ sketchDetails }),
'next is line': ({ context }) => context.currentTool === 'line', 'next is line': ({ context }) => context.currentTool === 'line',
'next is none': ({ context }) => { 'next is none': ({ context }) => context.currentTool === 'none',
console.log('is next none?', context)
return context.currentTool === 'none'
},
}, },
// end guards // end guards
actions: { actions: {