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

[Chat] Site crashes when visited by guest user #134

Closed
chunzkok opened this issue Jul 14, 2022 · 0 comments · Fixed by #137
Closed

[Chat] Site crashes when visited by guest user #134

chunzkok opened this issue Jul 14, 2022 · 0 comments · Fixed by #137
Assignees
Labels
bug Something isn't working

Comments

@chunzkok
Copy link
Collaborator

chunzkok commented Jul 14, 2022

Description

  • When a user visits the chat page without logging in, the site crashes and displays a blank screen
  • error
  • An error is then displayed in the console

Steps to reproduce

  1. Log out of any user account, if applicable
  2. Visit the Listings Page
  3. Click on a listing
  4. Click on the chat button
  5. Site crashes

Expected Outcome

  1. Guest user should be redirected to another page ("/listingspage") when visiting the chat page
  2. Listing Modals should not include the Chat button when a user is not logged in
@chunzkok chunzkok added the bug Something isn't working label Jul 14, 2022
@chunzkok chunzkok self-assigned this Jul 14, 2022
@chunzkok chunzkok linked a pull request Jul 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant