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

FAQ page takes you to the profile of faq #173

Open
bakrhaso opened this issue Apr 8, 2024 · 3 comments
Open

FAQ page takes you to the profile of faq #173

bakrhaso opened this issue Apr 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@bakrhaso
Copy link

bakrhaso commented Apr 8, 2024

The FAQ page (https://database.dev/faq) shows the profile page (AFAIK, I was just taking a look at the site, I'm not a user) of a user named faq (created today, presumably now() is a default value?)

image

@bakrhaso bakrhaso added the bug Something isn't working label Apr 8, 2024
@w3b6x9
Copy link
Member

w3b6x9 commented Apr 29, 2024

thanks, i just came across this today. i'll let the rest of the team know about this.

@w3b6x9
Copy link
Member

w3b6x9 commented Apr 29, 2024

dayjs(undefined) becomes dayjs() which is always today. profile?.created_at is undefined:

Joined {dayjs(profile?.created_at).format('YYYY-MM-DD')}

@w3b6x9
Copy link
Member

w3b6x9 commented Apr 29, 2024

As a logged out user I shouldn't able to see Edit profile:

Screenshot 2024-04-29 at 16 45 56

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

No branches or pull requests

2 participants