Re-wrote all the requests to use a custom, reusable hook

This commit is contained in:
Alicia Sykes
2023-06-27 22:50:25 +01:00
parent e9a8dd0d9d
commit ad99063bdf
9 changed files with 269 additions and 301 deletions

View File

@@ -93,7 +93,7 @@ const Home = (): JSX.Element => {
});
})
.catch(function(error) {
console.log(error)
console.log('Failed to get IP address :\'(', error)
});
};