chore: remove hostname check on risk screen (#3805)
This commit is contained in:
parent
99ab581a87
commit
0ea635ce15
@ -7,7 +7,7 @@ export default function useAccountRiskCheck(account: string | null | undefined)
|
|||||||
const dispatch = useAppDispatch()
|
const dispatch = useAppDispatch()
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (account && window.location.hostname === 'app.uniswap.org') {
|
if (account) {
|
||||||
const headers = new Headers({ 'Content-Type': 'application/json' })
|
const headers = new Headers({ 'Content-Type': 'application/json' })
|
||||||
fetch('https://screening-worker.uniswap.workers.dev', {
|
fetch('https://screening-worker.uniswap.workers.dev', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
Loading…
Reference in New Issue
Block a user