mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
editor component, viewer component
This commit is contained in:
@ -13,7 +13,7 @@ type FieldPropsType = {
|
||||
id: string;
|
||||
recipient: string;
|
||||
};
|
||||
onPositionChangedHandler: any;
|
||||
onPositionChanged: any;
|
||||
};
|
||||
|
||||
export default function Field(props: FieldPropsType) {
|
||||
@ -31,7 +31,7 @@ export default function Field(props: FieldPropsType) {
|
||||
if (!position) return;
|
||||
const { x, y } = position;
|
||||
|
||||
props.onPositionChangedHandler({ x, y }, props.field.id);
|
||||
props.onPositionChanged({ x, y }, props.field.id);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user