This commit is contained in:
Timur Ercan
2023-02-13 15:00:20 +01:00
parent 3ce6ea61a0
commit d75c7bef20

View File

@ -22,8 +22,6 @@ export default function Field(props: FieldPropsType) {
props.field.position || { x: 0, y: -842 }
);
const nodeRef = React.createRef<HTMLDivElement>();
console.log(props.field);
const onControlledDrag = (e: any, position: any) => {
const { x, y } = position;
setPosition({ x, y });