Skip to content

Commit dc1d18f

Browse files
author
Claudéric Demers
authored
fix: invalid helperContainer PropType definition (#493)
1 parent d745c4d commit dc1d18f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SortableContainer/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ export default function sortableContainer(
105105
]),
106106
getContainer: PropTypes.func,
107107
getHelperDimensions: PropTypes.func,
108-
helperContainer: PropTypes.oneOfType(
108+
helperContainer: PropTypes.oneOfType([
109109
PropTypes.func,
110110
typeof HTMLElement === 'undefined'
111111
? PropTypes.any
112112
: PropTypes.instanceOf(HTMLElement),
113-
),
113+
]),
114114
};
115115

116116
static childContextTypes = {

0 commit comments

Comments
 (0)