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

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

export default ShotsContainer;
