diff --git a/src/components/EditOverlay.tsx b/src/components/EditOverlay.tsx index e5da564..73d176d 100644 --- a/src/components/EditOverlay.tsx +++ b/src/components/EditOverlay.tsx @@ -96,6 +96,7 @@ export const EditOverlay = ({ original_center: e.center, new_center: e.center, in_progress: true, + created_at: Date.now(), }) setIsMovingComponent(true) diff --git a/src/lib/edit-events.ts b/src/lib/edit-events.ts index cb457b4..3c6afea 100644 --- a/src/lib/edit-events.ts +++ b/src/lib/edit-events.ts @@ -5,6 +5,7 @@ export type EditComponentLocationEvent = { original_center: { x: number; y: number } new_center: { x: number; y: number } in_progress?: boolean + created_at: number } export type EditEvent = EditComponentLocationEvent