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,13 +5,11 @@ import ImmutablePureComponent from 'react-immutable-pure-component'
import { NavLink } from 'react-router-dom'
import { decode } from 'blurhash'
import { autoPlayGif, displayMedia } from '../initial_state'
import classNames from 'classnames/bind'
import { CX } from '../constants'
import Icon from './icon'
import Image from './image'
import Text from './text'
const cx = classNames.bind(_s)
class MediaItem extends ImmutablePureComponent {
state = {
@@ -76,7 +74,7 @@ class MediaItem extends ImmutablePureComponent {
badge = 'GIF'
}
const containerClasses = cx({
const containerClasses = CX({
d: 1,
posAbs: 1,
top0: 1,
@@ -86,7 +84,7 @@ class MediaItem extends ImmutablePureComponent {
px2: !isSmall,
})
const linkClasses = cx({
const linkClasses = CX({
d: 1,
w100PC: 1,
h100PC: 1,