Skip to content

Commit

Permalink
update imports and naming
Browse files Browse the repository at this point in the history
  • Loading branch information
JIOjosBG committed May 29, 2024
1 parent 220bfff commit 9ec5bfa
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Collectible = ({ button, asset}) =>{
<div className={styles.wrapper}>
<div className={styles.info}>
<div className={styles.iconWrapper}>
<img src={asset.data.imageUrl} alt="" className={styles.icon} />
<img src={asset.data.image} alt="" className={styles.icon} />
</div>
<h3 className={styles.name}>{asset.name}</h3>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import { MdVisibilityOff as VisibleIcon, MdRemoveRedEye as HiddenIcon } from 're
import Collectible from './Collectible/Collectible'

import styles from './HideCollectibleModal.module.scss'
import { rpcUrls } from 'config/providers'
import { NFT_CDN_URL } from 'config'


const HideCollectibleModal = ({ portfolio, setIsHideCollectiblesModalOpen }) => {
const { hideModal, setOnClose } = useModals()
Expand Down
2 changes: 0 additions & 2 deletions src/components/Wallet/Collectible/Collectible.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import './Collectible.scss'

import { rpcUrls } from 'config/providers'
import { useParams } from 'react-router-dom'
import { Interface } from 'ethers/lib/utils'
import { useEffect, useState, useRef, useMemo } from 'react'
Expand All @@ -24,7 +23,6 @@ import { validateSendNftAddress } from 'lib/validations/formValidations'
import { resolveUDomain } from 'lib/unstoppableDomains'
import { resolveENSDomain, getBip44Items } from 'lib/ensDomains'
import useConstants from 'hooks/useConstants'
import { NFT_CDN_URL } from 'config'

const ERC721 = new Interface(ERC721Abi)

Expand Down
2 changes: 0 additions & 2 deletions src/components/Wallet/Dashboard/Collectibles/Collectibles.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import HideCollectibleModal from 'components/Modals/HideCollectibleModal/HideCol
import CollectiblesPlaceholder from './CollectiblesPlaceholder/CollectiblesPlaceholder'
import CollectiblesWrapper from './CollectiblesWrapper/CollectiblesWrapper'
import Collectible from './Collectible/Collectible'
import { rpcUrls } from 'config/providers'
import { NFT_CDN_URL } from 'config'


const Collectibles = ({ portfolio, isPrivateMode, selectedNetwork, footer }) => {
Expand Down

0 comments on commit 9ec5bfa

Please sign in to comment.