Query returning html elements. How to append? - TanStack