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

Issue in Register user and in chat section #33

Open
Shubhithebeast opened this issue Jan 26, 2024 · 3 comments
Open

Issue in Register user and in chat section #33

Shubhithebeast opened this issue Jan 26, 2024 · 3 comments

Comments

@Shubhithebeast
Copy link

First, i have issue in Register user, when i register a new user, the data is succesfully saved in db, but the loacalStorage showing blank object
image
after register its opening setavatar page bcz chat-app-user is present in local storage though its {} but giving error while setting avatar saying undefined
image

but if i login with same user creds, after removing object from localstorage then localstorage showing data and can set avatar too
image
and also when ever new user try to setAvatar always give toast error, if try again then its working, but giding error in 1st always, u also face issue in video too

now chat page is open but not able to display only contacts, i watched in utube video , this happens with u too, u didn't show how u tackle it , like if register some users, then i already tried it, but not showing anything in chats

image
this last pic, look in console, there some errors too, get api error, , look into it too, i am atthing my repo link here so u can chk my where i have correct -> https://github.com/Shubhithebeast/LetsChat.git
thanku, that'll for now... I am really enjoying ur project tutorial....

@Shubhithebeast
Copy link
Author

hii contributors help me in my issue... @koolkishan @rajkaranm

@Shubhithebeast
Copy link
Author

hey, @koolkishan @rajkaranm help me to solvce this, i stucking here from long time

@EduardoAldrimf
Copy link

First, i have issue in Register user, when i register a new user, the data is succesfully saved in db, but the loacalStorage showing blank object

image

after register its opening setavatar page bcz chat-app-user is present in local storage though its {} but giving error while setting avatar saying undefined

image

but if i login with same user creds, after removing object from localstorage then localstorage showing data and can set avatar too

image

and also when ever new user try to setAvatar always give toast error, if try again then its working, but giding error in 1st always, u also face issue in video too

now chat page is open but not able to display only contacts, i watched in utube video , this happens with u too, u didn't show how u tackle it , like if register some users, then i already tried it, but not showing anything in chats

image

this last pic, look in console, there some errors too, get api error, , look into it too, i am atthing my repo link here so u can chk my where i have correct -> https://github.com/Shubhithebeast/LetsChat.git

thanku, that'll for now... I am really enjoying ur project tutorial....

Have you already fixed these issues?

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

No branches or pull requests

2 participants