chore: remove hostname check on risk screen (#3805)

This commit is contained in:
Jordan Frankfurt 2022-05-04 21:35:24 -05:00 committed by GitHub
parent 99ab581a87
commit 0ea635ce15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ export default function useAccountRiskCheck(account: string | null | undefined)
const dispatch = useAppDispatch()
useEffect(() => {
if (account && window.location.hostname === 'app.uniswap.org') {
if (account) {
const headers = new Headers({ 'Content-Type': 'application/json' })
fetch('https://screening-worker.uniswap.workers.dev', {
method: 'POST',