Skip to content

Commit cb072ea

Browse files
nikolasSTRML
authored andcommitted
fix typo in comment: leapflog -> leapfrog (react-grid-layout#387)
1 parent 3dcbe79 commit cb072ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export function moveElementAwayFromCollision(layout: Layout, collidesWith: Layou
291291
}
292292

293293
// Previously this was optimized to move below the collision directly, but this can cause problems
294-
// with cascading moves, as an item may actually leapflog a collision and cause a reversal in order.
294+
// with cascading moves, as an item may actually leapfrog a collision and cause a reversal in order.
295295
return moveElement(layout, itemToMove, undefined, itemToMove.y + 1);
296296
}
297297

0 commit comments

Comments
 (0)