how to use react query in component that takes id and you render it multiple times

i created a component that fetches data from api and i gave it id as parameter that i use in react query then i render 5 components with different ids and they all end up rendering like they had first id
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server