Commit 0ea635ce authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

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

parent 99ab581a
...@@ -7,7 +7,7 @@ export default function useAccountRiskCheck(account: string | null | undefined) ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment