Function useHistoryGet

Returns a Tanstack useQuery object for fetching a specific match by its ID.

const { isPending, data: match } = useHistoryGet("1234");