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

[Fix] Fixing room message form #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

myanch200
Copy link

If user is not logged and tries to add a new message the website would break , because the form was visible. Added a if condition that renders either the form or a paragraph with link to log in.
Now
Not logged user
Screenshot 2021-10-14 at 15 23 09
Logged user
Screenshot 2021-10-14 at 15 23 29

Before
Screenshot 2021-10-14 at 15 25 19

Error when you try to add message
Screenshot 2021-10-14 at 15 25 49

If user is not logged and tries to add a new message the website would break , because the form was visible. Added a if condition that renders either the form or a paraph with link to log in.
@militiwari
Copy link

Good observation.

@Mubarak-ml
Copy link

Good Job! but like my css is not working
studybud

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.

3 participants