import { GET_SHOTS } from "../graphql/query";
import DisplayShots from "./display-shot";
import withQueryHandling from "./with-query-handling";

const ShotsContainer = withQueryHandling({
	WrappedComponent: DisplayShots,
	query: GET_SHOTS,
	dataKey: "getShots",
	queryOptions: {
		variables: {
			includeCueObjectAngle: true,
		},
	},
});

export default ShotsContainer;
