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

[bug]: Why Avatar Component is Client Component, Button Component is Server Component #7000

Open
2 tasks done
liuyangzuo opened this issue Mar 23, 2025 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@liuyangzuo
Copy link

Describe the bug

At the top of Avatar.tsx has "use client"
But nothing in Button.tsx

Affected component/components

Button Avatar

How to reproduce

In source code

Codesandbox/StackBlitz link

No response

Logs

System Info

Mac

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@liuyangzuo liuyangzuo added the bug Something isn't working label Mar 23, 2025
@liuyangzuo liuyangzuo changed the title [bug]: Why Avatar Component is Client Component , Button Component is Server Component [bug]: Why Avatar Component is Client Component, Button Component is Server Component Mar 23, 2025
@liuyangzuo
Copy link
Author

I understand that the Avatar loading image, but the button need to click.

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

1 participant