Skip to content

Commit 4e9324f

Browse files
committed
fix: Allow not specifying cssClass on index selector
Not passing one was passing the default `{}` which was then not compliant with our PropTypes validation.
1 parent 97b1681 commit 4e9324f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

widgets/index-selector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ var utils = require('../lib/utils.js');
1212
*/
1313
function indexSelector({
1414
container = null,
15-
cssClass = {},
16-
indices = null
15+
indices = null,
16+
cssClass
1717
}) {
1818
var IndexSelector = require('../components/IndexSelector');
1919
var containerNode = utils.getContainerNode(container);

0 commit comments

Comments
 (0)