Multiple Server Components in a Client Component??

This looks straight forward at the beginning, but i;m finding it difficult constructing the files for this.... So i'm using shadcn Tabs component (which is a client component) and i need to render different server components under the tab content, check the below code for reference
2 Replies
Coded_58
Coded_58OP2y ago
Coded_58
Coded_58OP2y ago
This is just an example component to reproduce my issue... Both "Attendance Data" and "Leave Data" are server components and throw error with this example. But this is my question, how can i pass multiple server component as children in one client component??? The solution so far is to change them both to client components and pass the data as props from the Page.tsx to it, is there another way to go about this??
Want results from more Discord servers?
Add your server