Sexy
Sexy13mo ago

is it possible and how to make a function, which can make a loop to all rooms from 3 to 9.

No description
No description
2 Replies
erquhart
erquhart13mo ago
I'm trying to understand what you're going for here. There's a lot going on in the left image, and the one on the right is a hook to get a single room, which makes me unsure how the loop is related. Can you share a little more about what you're trying to do and what's not working as expected?
ian
ian13mo ago
I would pass all rooms to fetch to the query and fetch them all at once. you can't loop over a hook (anything that starts with "use")

Did you find this page helpful?