Returns a Tanstack useQuery object for fetching a user's game history, given the HistorySearchCriteria.
useQuery
const { isPending, data: matches } = useHistoryFind(); Copy
const { isPending, data: matches } = useHistoryFind();
Optional
(optional) - The search criteria to filter the history.
(optional) - The cursor for pagination.
(optional) - The number of items to return.
Returns a Tanstack
useQuery
object for fetching a user's game history, given the HistorySearchCriteria.