Skip to content

Commit 6c83d87

Browse files
authored
Update componentReducer.util.js
cleanup of debugging logic
1 parent faf6869 commit 6c83d87

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/componentReducer.util.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,6 @@ export const handleTransform = (state, {
354354
}) => {
355355
const components = state.components.map((component) => {
356356
if (component.id === id) {
357-
console.log('old coords', Math.floor(component.position.x), Math.floor(component.position.y), Math.floor(component.position.width), Math.floor(component.position.height));
358-
console.log('x,y,width,height for transform', Math.floor(x), Math.floor(y), Math.floor(width), Math.floor(height));
359357
return {
360358
...component,
361359
position: {

0 commit comments

Comments
 (0)