Skip to content

Commit 9f5179c

Browse files
committed
Added semi-colons
1 parent 92b76b6 commit 9f5179c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SortableContainer/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
270270
top: this.scrollContainer.scrollTop,
271271
left: this.scrollContainer.scrollLeft,
272272
};
273-
273+
274274
this.initialWindowScroll = {
275275
top: window.scrollY,
276276
left: window.scrollX,
@@ -518,8 +518,8 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
518518
y: offset.y - this.initialOffset.y,
519519
};
520520
// Adjust for window scroll
521-
translate.y -= (window.scrollY - this.initialWindowScroll.top)
522-
translate.x -= (window.scrollX - this.initialWindowScroll.left)
521+
translate.y -= (window.scrollY - this.initialWindowScroll.top);
522+
translate.x -= (window.scrollX - this.initialWindowScroll.left);
523523

524524
this.translate = translate;
525525

@@ -571,7 +571,7 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
571571
const scrollDifference = {
572572
top: (window.scrollY - this.initialWindowScroll.top),
573573
left: (window.scrollX - this.initialWindowScroll.left),
574-
}
574+
};
575575
this.newIndex = null;
576576

577577
for (let i = 0, len = nodes.length; i < len; i++) {

0 commit comments

Comments
 (0)