Skip to content

Commit

Permalink
fix: use coordinates instead of coordinate on data of draggable well
Browse files Browse the repository at this point in the history
BRAKING CHANGE: use coordinates instead of coordinate on data of draggable well
  • Loading branch information
Simon Bigelmayr committed Jul 4, 2023
1 parent b222cd0 commit 25335df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Plate/EmptyWell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function EmptyWell(props: { position: number }) {
const { setNodeRef, isOver } = useDroppable({
id: props.position,
data: {
coordinate: {
coordinates: {
row: rowForPosition(props.position, PLATE_FLOW),
column: columnForPosition(props.position, PLATE_FLOW),
},
Expand Down
2 changes: 1 addition & 1 deletion src/Plate/FilledWell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function FilledWell(props: {
isDraggable: boolean;
}) {
const data = {
coordinate: {
coordinates: {
row: rowForPosition(props.position, PLATE_FLOW),
column: columnForPosition(props.position, PLATE_FLOW),
},
Expand Down

0 comments on commit 25335df

Please sign in to comment.