Re-wrote all the requests to use a custom, reusable hook
This commit is contained in:
@@ -93,7 +93,7 @@ const Home = (): JSX.Element => {
|
||||
});
|
||||
})
|
||||
.catch(function(error) {
|
||||
console.log(error)
|
||||
console.log('Failed to get IP address :\'(', error)
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user