error and loading
This commit is contained in:
@ -4,7 +4,8 @@ const client = axios.create({
|
||||
baseURL: 'https://api.outsidein.dev/Sy0NsAyaS8uuURS1zyCDp3Fzxcpg25iw',
|
||||
});
|
||||
const api = {
|
||||
async loadRestaurants(){
|
||||
async loadRestaurants()
|
||||
{
|
||||
const response = await client.get('/restaurants');
|
||||
return response.data;
|
||||
},
|
||||
|
Reference in New Issue
Block a user