- Don't do anything if the destination and source are the same
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -101,7 +101,7 @@ const BoardContainer = ({
|
||||
async ({ draggableId, type, source, reason, mode, destination, combine }) => {
|
||||
setIsDragging(false);
|
||||
|
||||
if (!type || type !== "lane" || !source || !destination) return;
|
||||
if (!type || type !== "lane" || !source || !destination || isEqual(source, destination)) return;
|
||||
|
||||
setIsProcessing(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user