diff --git a/src/App.jsx b/src/App.jsx index be49411..7d12f8f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -10,17 +10,6 @@ const updateDOM = (id, text) => { const App = () => { useEffect(() => { - fetch('http://ip-api.com/json') - .then((response) => response.json()) - .then((data) => { - updateDOM('ipAddress', data.query); - updateDOM('country', data.country); - updateDOM('region', data.regionName); - updateDOM('city', data.city); - updateDOM('zip', data.zip); - updateDOM('provider', data.isp); - }); - const uaResult = Bowser.parse(navigator.userAgent); updateDOM('browser', uaResult.browser.name); updateDOM('browserVersion', uaResult.browser.version); @@ -66,43 +55,6 @@ const App = () => { -
Connection
- - - - - - - - - - - - - - - - - - - - - - - -
Software
IP address: -
-
Country: -
-
Region: -
-
City: -
-
Zip code: -
-
Provider: -
-
Browser: