Skip to content

Commit 97bf646

Browse files
committed
fix: isObject typo
1 parent f3a657e commit 97bf646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CCol.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import classNames from 'classnames';
44
import {mapToCssModules, tagPropType} from './Shared/helper.js';
5-
import isobject from 'lodash.isobject';
5+
import isObject from 'lodash.isobject';
66

77
const colWidths = ['xs', 'sm', 'md', 'lg', 'xl'];
88
const stringOrNumberProp = PropTypes.oneOfType([PropTypes.number, PropTypes.string]);
@@ -50,7 +50,7 @@ const CCol = props=>{
5050
return;
5151
}
5252
const isXs = !i;
53-
if (isobject(columnProp)) {
53+
if (isObject(columnProp)) {
5454
const colSizeInterfix = isXs ? '-' : `-${colWidth}-`;
5555
const colClass = getColumnSizeClass(isXs, colWidth, columnProp.size);
5656

0 commit comments

Comments
 (0)