Skip to content

Commit

Permalink
fix(): removed some trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or authored and yairEO committed Dec 19, 2022
1 parent 1065aba commit b4e2c3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Scrollable/Scrollable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class Scrollable extends React.PureComponent {
container.parentElement.classList.remove('scrolling');
}, SCROLLING_CLASS_REMOVAL_DELAY);
}
};
}

getEvent = () => {
const container = this.container.current;
Expand All @@ -108,7 +108,7 @@ export default class Scrollable extends React.PureComponent {
clientHeight,
clientWidth,
};
};
}

shouldUpdateScrollbars(event) {
const {next, prev} = event,
Expand Down Expand Up @@ -151,7 +151,7 @@ export default class Scrollable extends React.PureComponent {
}

this.event.prev = nextEvent;
};
}

getElementProps = () => {
const {element} = this.props;
Expand All @@ -160,7 +160,7 @@ export default class Scrollable extends React.PureComponent {
ref: copyComponentRef(element.ref, this.container),
onScroll: this.handleOnScroll,
}
};
}

handleOnTransitionEnd = e => {
// Sometimes internal dimension changes don't occur immediately due to transitions/animations.
Expand All @@ -170,7 +170,7 @@ export default class Scrollable extends React.PureComponent {
if (['height', 'width'].includes(e.propertyName)) {
this.updateScrollbars();
}
};
}

render() {
const {children, style, element} = this.props;
Expand Down

0 comments on commit b4e2c3a

Please sign in to comment.