-
Notifications
You must be signed in to change notification settings - Fork 3
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
Avoid reservation if the User is not logged. #105
Conversation
… reserve a concert' if user is not logged
…id problems when accesing state
…eserve if user not logged
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.
Your project is complete! There is nothing else to say other than... it's time to merge it
Congratulations! 🎉
Highlights
- Your implemented changes will contribute to improving the UX by automatically redirecting to the login page
- All tests are passing
- Descriptive PR
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.
You can also consider:
- [OPTIONAL] None
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification @danifromecuador
implement suggested changes in #60
Implemented Changes:
Reserve button
redirects to the login page if the user is not logged in and updates user message toPlease login before reserve
setUserMessage
reducerLogin Page
shows the alert suggesting the user to log in before creating a reservation.reserve button
, this action will redirect you to the Login page.Please login to reserve a concert
alert.Please login to reserve a concert
Alert is being rendered.