Writes get robots, refactors row to be reusable, adds loading progress logic

This commit is contained in:
Alicia Sykes
2023-06-22 15:24:14 +01:00
parent 2a7a5fa0f9
commit 6062473efc
14 changed files with 335 additions and 136 deletions

View File

@@ -81,7 +81,6 @@ const Home = (): JSX.Element => {
fetch('https://ipapi.co/json/')
.then(function(response) {
response.json().then(jsonData => {
console.log(jsonData);
setUserInput(jsonData.ip);
setPlaceholder(defaultPlaceholder);
setInputDisabled(true);