Skip to content

Commit

Permalink
fix: removed emote tags (#1706)
Browse files Browse the repository at this point in the history
* fix: removed emote tags

* change minting icon
  • Loading branch information
flobarreto authored May 17, 2023
1 parent 340aa75 commit 7a93cae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions webapp/src/components/AssetCard/EmoteTags/EmoteTags.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { NFTCategory } from '@dcl/schemas'
import { Popup } from 'decentraland-ui'
import classNames from 'classnames'
import { T } from 'decentraland-dapps/dist/modules/translation/utils'
import { AssetType } from '../../../modules/asset/types'
import RarityBadge from '../../RarityBadge'
import { Props } from './EmoteTags.types'
import styles from './EmoteTags.module.css'

const EmoteTags = (props: Props) => {
const { asset } = props
const { rarity, loop } = asset.data.emote!
const { rarity } = asset.data.emote!

return (
<div className={classNames([styles.EmoteTags, 'tags'])}>
Expand All @@ -20,21 +18,6 @@ const EmoteTags = (props: Props) => {
category={NFTCategory.EMOTE}
withTooltip={false}
/>

<Popup
position="top center"
content={<T id={`emote.play_mode.${loop ? 'loop' : 'simple'}`} />}
trigger={
<div className={styles.PlayModeSmallBadge}>
<span
className={classNames(
styles.PlayIcon,
loop ? styles.PlayLoop : styles.PlayOnce
)}
></span>
</div>
}
/>
</div>
)
}
Expand Down
Binary file modified webapp/src/images/minting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7a93cae

Please sign in to comment.