Skip to content

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