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

@@ -2,15 +2,13 @@ import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl'
import classNames from 'classnames/bind'
import { changeComposeVisibility } from '../../actions/compose'
import { closePopover } from '../../actions/popover'
import { CX } from '../../constants'
import PopoverLayout from './popover_layout'
import Icon from '../icon'
import Text from '../text'
const cx = classNames.bind(_s)
class StatusVisibilityDropdown extends React.PureComponent {
handleChange = (value) => {
@@ -57,7 +55,7 @@ class StatusVisibilityDropdown extends React.PureComponent {
const isActive = option.value === value
const isLast = i === options.length - 1
const containerClasses = cx({
const containerClasses = CX({
d: 1,
flexRow: 1,
py10: 1,
@@ -68,7 +66,7 @@ class StatusVisibilityDropdown extends React.PureComponent {
bgBrand: isActive,
})
const iconClasses = cx({
const iconClasses = CX({
ml10: 1,
mt2: 1,
cPrimary: !isActive,