Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import {
collectibleDetailsUISelectors
} from '@audius/common'
import { ScrollView, View } from 'react-native'
import { useSelector } from 'react-redux'

import IconShare from 'app/assets/images/iconShare.svg'
import LogoEth from 'app/assets/images/logoEth.svg'
import LogoSol from 'app/assets/images/logoSol.svg'
import Button from 'app/components/button'
import { AppDrawer } from 'app/components/drawer'
import Text from 'app/components/text'
import { useSelectorWeb } from 'app/hooks/useSelectorWeb'
import { makeStyles } from 'app/styles'
import { getCollectiblesRoute } from 'app/utils/routes'
import share from 'app/utils/share'
Expand Down Expand Up @@ -93,9 +93,9 @@ const getHostname = (url: string) => {

export const CollectibleDetailsDrawer = () => {
const styles = useStyles()
const collectible = useSelectorWeb(getCollectible)
const ownerId = useSelectorWeb(getCollectibleOwnerId)
const owner = useSelectorWeb((state) => getUser(state, { id: ownerId }))
const collectible = useSelector(getCollectible)
const ownerId = useSelector(getCollectibleOwnerId)
const owner = useSelector((state) => getUser(state, { id: ownerId }))

const formattedLink = useMemo(() => {
const url = collectible?.externalLink
Expand Down