Skip to content

Commit

Permalink
Removed build directory from version control
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenthphung committed Jun 21, 2023
1 parent 6fd618f commit 6aebba1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/utils/Yelp.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ const Yelp = {

if (jsonResponse.businesses) {
return jsonResponse.businesses.map((business) => ({
// ... (rest of your code)
id: business.id,
imageSrc: business.image_url,
name: business.name,
address: business.location.address1,
city: business.location.city,
state: business.location.state,
zipCode: business.location.zip_code,
category: business.categories[0].title,
rating: business.rating,
reviewCount: business.review_count,
url: business.url,
}));
} else {
return [];
Expand Down

1 comment on commit 6aebba1

@vercel
Copy link

@vercel vercel bot commented on 6aebba1 Jun 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.