T
TanStack•3y ago
genetic-orange

Can't expand multiple sub component with a query

Hello! 👋 I would like to expends multiple sub component at the same time, but I use a query inside the sub component so when I expend two at the same time I got "Rendered mor hooks than during the previous render." error. See the screenshot for : Sub component / Table body / Query I use What's the right approach to make this work properly?
No description
No description
No description
2 Replies
genetic-orange
genetic-orangeOP•3y ago
Fixed by removing conditional on tablebody subcomponent
unwilling-turquoise
unwilling-turquoise•3y ago
expanded selected row

Did you find this page helpful?