railbird-gql/component/shot.tsx

17 lines
371 B
TypeScript

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;