Skip to content

Commit 8d1805c

Browse files
committed
Fix wrong props order
1 parent 6e21866 commit 8d1805c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/PlaceholderWithoutTracking.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ class PlaceholderWithoutTracking extends React.Component {
116116

117117
PlaceholderWithoutTracking.propTypes = {
118118
onVisible: PropTypes.func.isRequired,
119-
scrollPosition: PropTypes.shape({
120-
x: PropTypes.number.isRequired,
121-
y: PropTypes.number.isRequired,
122-
}),
123119
className: PropTypes.string,
124120
height: PropTypes.number,
125121
placeholder: PropTypes.element,
126122
threshold: PropTypes.number,
123+
scrollPosition: PropTypes.shape({
124+
x: PropTypes.number.isRequired,
125+
y: PropTypes.number.isRequired,
126+
}),
127127
width: PropTypes.number,
128128
};
129129

0 commit comments

Comments
 (0)