Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make meet your host section dynamic #232

Closed
wants to merge 8 commits into from

Conversation

Konzisam
Copy link
Collaborator

image
we can now get the data dynamically in the meet ypur host section

CHANGES
Meet your host Right:

  • only render super host sections when a user is a superhost
  • change meetyourhost section to receive props and drill the stat to its child components.
  • add a json in product page as placeholder as there is no meetyourhost specific data in json file

Copy link
Collaborator

@grabinskij grabinskij left a comment

Choose a reason for hiding this comment

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

Hi Samuel, in the MeetYourHostSection instead of rating={place.reviewSummary.valueAvgRating} it should be rating={place.reviewSummary.totalAvgRating},otherwise average rating are not shown in the component.

@Konzisam
Copy link
Collaborator Author

closed this without merging it seems tthere is a branch with the same changes already

@Konzisam Konzisam closed this Nov 14, 2024
@Konzisam
Copy link
Collaborator Author

Unnecessary to merge, the changes are already in the reflected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make meetYourHost dynamic
2 participants