remove debug log (#3853)
This commit is contained in:
@ -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: {
|
||||||
|
Reference in New Issue
Block a user