parent
f65fb5bc2b
commit
2d87e692e6
@ -572,19 +572,11 @@ const Ranking = ({ rarity, provider, rarityVerified, rarityLogo }: RankingProps)
|
|||||||
</MouseoverTooltip>
|
</MouseoverTooltip>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
const SUSPICIOUS_TEXT = 'Blocked on OpenSea'
|
||||||
|
|
||||||
const Suspicious = () => {
|
const Suspicious = () => {
|
||||||
return (
|
return (
|
||||||
<MouseoverTooltip
|
<MouseoverTooltip text={<Box className={bodySmall}>{SUSPICIOUS_TEXT}</Box>} placement="top">
|
||||||
text={
|
|
||||||
<Box className={bodySmall}>
|
|
||||||
Reported for suspicious activity
|
|
||||||
<br />
|
|
||||||
on Opensea
|
|
||||||
</Box>
|
|
||||||
}
|
|
||||||
placement="top"
|
|
||||||
>
|
|
||||||
<Box display="flex" flexShrink="0" marginLeft="2">
|
<Box display="flex" flexShrink="0" marginLeft="2">
|
||||||
<SuspiciousIcon20 width="20" height="20" />
|
<SuspiciousIcon20 width="20" height="20" />
|
||||||
</Box>
|
</Box>
|
||||||
@ -679,6 +671,7 @@ export {
|
|||||||
SecondaryInfo,
|
SecondaryInfo,
|
||||||
SecondaryRow,
|
SecondaryRow,
|
||||||
Suspicious,
|
Suspicious,
|
||||||
|
SUSPICIOUS_TEXT,
|
||||||
TertiaryInfo,
|
TertiaryInfo,
|
||||||
Video,
|
Video,
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,7 @@ import ReactMarkdown from 'react-markdown'
|
|||||||
import { Link, useLocation, useNavigate } from 'react-router-dom'
|
import { Link, useLocation, useNavigate } from 'react-router-dom'
|
||||||
import { useSpring } from 'react-spring'
|
import { useSpring } from 'react-spring'
|
||||||
|
|
||||||
|
import { SUSPICIOUS_TEXT } from '../collection/Card'
|
||||||
import * as styles from './AssetDetails.css'
|
import * as styles from './AssetDetails.css'
|
||||||
|
|
||||||
const AudioPlayer = ({
|
const AudioPlayer = ({
|
||||||
@ -271,7 +272,7 @@ export const AssetDetails = ({ asset, collection }: AssetDetailsProps) => {
|
|||||||
<Row as="h1" marginTop="0" marginBottom="12" gap="2" className={headlineMedium}>
|
<Row as="h1" marginTop="0" marginBottom="12" gap="2" className={headlineMedium}>
|
||||||
{asset.openseaSusFlag && (
|
{asset.openseaSusFlag && (
|
||||||
<Box marginTop="8">
|
<Box marginTop="8">
|
||||||
<MouseoverTooltip text={<Box fontWeight="normal">Reported for suspicious activity on OpenSea</Box>}>
|
<MouseoverTooltip text={<Box fontWeight="normal">{SUSPICIOUS_TEXT}</Box>}>
|
||||||
<SuspiciousIcon height="30" width="30" viewBox="0 0 16 17" />
|
<SuspiciousIcon height="30" width="30" viewBox="0 0 16 17" />
|
||||||
</MouseoverTooltip>
|
</MouseoverTooltip>
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user