Function useHistoryFind

Returns a Tanstack useQuery object for fetching a user's game history, given the HistorySearchCriteria.

const { isPending, data: matches } = useHistoryFind();