Skip to content

Commit 0006960

Browse files
author
KaWaite
committed
Fix silly typo
1 parent 92cafe6 commit 0006960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Grid/GridItem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const GridItem: React.FC<ItemProps<Location>> = ({
106106
if (!clientOffset) return;
107107

108108
const hoverClientY = clientOffset.y - hoverBoundingRect.top;
109-
const hoverClientX = clientOffset.x = hoverBoundingRect.left;
109+
const hoverClientX = clientOffset.x - hoverBoundingRect.left;
110110

111111
if (vertical) {
112112
if (dragIndex < hoverIndex && hoverClientY < hoverMiddleY) {

0 commit comments

Comments
 (0)