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

Cart link shows twice on Header Nav when user logged in #18

Open
alex-7799 opened this issue Feb 13, 2024 · 1 comment
Open

Cart link shows twice on Header Nav when user logged in #18

alex-7799 opened this issue Feb 13, 2024 · 1 comment

Comments

@alex-7799
Copy link

Cart link shows twice when user logged in due to redundant call of CartLink component in Header
image
image

It seems that Payload will always display Cart in Header by default, but for the demo it is only display when the user logged in.

Which is the prefer way in scope of this demo?
Please clarify, thank you

@felixoder
Copy link

remove the top one may be that will resolve the issue

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