Skip to content

Commit

Permalink
Fix the argument name in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed May 22, 2015
1 parent 694772d commit a9b4e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/01 Top Level API/DropTarget.md
Expand Up @@ -410,7 +410,7 @@ const chessSquareTarget = {
}
};

@DropTarget(Types.CHESSPIECE, chessSquareTarget, (collect, monitor) => ({
@DropTarget(Types.CHESSPIECE, chessSquareTarget, (connect, monitor) => ({
// Call this function inside render()
// to let React DnD handle the drag events:
connectDropTarget: connect.dropTarget(),
Expand Down

0 comments on commit a9b4e44

Please sign in to comment.