Newer
Older
import React from 'react'
import styled from 'styled-components'
import Header from '../components/Header'
import { router } from '../stores/router'
import { BaseProps } from '../types'
const PhishingDetected: React.FC<BaseProps> = ({ className }) => {
const { param: website } = useStore(router)
const decodedWebsite = decodeURIComponent(website)
return (
<>
'You have been redirected because the Polkadot{.js} extension believes that this website could compromise the security of your accounts and your tokens.'
</p>
<p className='websiteAddress'>{decodedWebsite}</p>
<p>
Note that this website was reported on a community-driven, curated
list. It might be incomplete or inaccurate. If you think that this
website was flagged incorrectly,{' '}
<a href='https://github.com/polkadot-js/phishing/issues/new'>
please open an issue by clicking here
</a>
.
</p>
</div>
</>
)
}
export default styled(PhishingDetected)`
p {
}
&.websiteAddress {
font-size: 1.3rem;
text-align: center;
}
}
`