Remove openscad specific state from ideState
This commit is contained in:
@@ -10,13 +10,7 @@ const IdeToolbarNew = () => {
|
||||
dispatch({ type: 'setIdeType', payload: { message: ide } })
|
||||
}
|
||||
function handleRender() {
|
||||
dispatch({
|
||||
type: 'render',
|
||||
payload: {
|
||||
code: state.code,
|
||||
camera: state.settings.camera,
|
||||
},
|
||||
})
|
||||
dispatch({ type: 'render', payload: { code: state.code } })
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user