-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature/dynamic reservation card #269
Conversation
6e711e8
to
33091b5
Compare
@@ -15,8 +15,7 @@ function ReservationCard({ | |||
airbnbServiceFee, | |||
longStayDiscount, | |||
nightsCountForDiscount, | |||
onGuestChange, | |||
guestsList, | |||
guestCounts: defaulfGuestCounts, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo: "defaulfGuestCounts", should be: "defaultGuestCounts "
infants: 0, | ||
pets: 0 | ||
}); | ||
const [guestCounts, setGuestCounts] = useState(defaulfGuestCounts || {}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo: "defaulfGuestCounts", should be: "defaultGuestCounts "
I have fixed it. Thank you! |
I have made reservation dynamic by receiving data from the server and passing it into components. I have also increase z-index in some popups in the productPage to ensure they can overlap the Header.