Updated classNames constant in components that werent using

• Updated:
- classNames constant in components that werent using
This commit is contained in:
mgabdev
2020-08-18 19:39:06 -05:00
parent 99982c0391
commit 2f4700e89f
23 changed files with 64 additions and 112 deletions

View File

@@ -5,14 +5,11 @@ import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component'
import { NavLink } from 'react-router-dom'
import { defineMessages, injectIntl } from 'react-intl'
import classNames from 'classnames/bind'
import { PLACEHOLDER_MISSING_HEADER_SRC } from '../constants'
import { PLACEHOLDER_MISSING_HEADER_SRC, CX } from '../constants'
import { shortNumberFormat } from '../utils/numbers'
import Image from './image'
import Text from './text'
const cx = classNames.bind(_s)
class GroupCollectionItem extends ImmutablePureComponent {
render() {
@@ -41,7 +38,7 @@ class GroupCollectionItem extends ImmutablePureComponent {
)
}
const navLinkClasses = cx({
const navLinkClasses = CX({
d: 1,
noUnderline: 1,
overflowHidden: 1,