railbird-gql/component/shot.tsx

17 lines
371 B
TypeScript
Raw Normal View History

2024-02-03 20:30:00 -07:00
import { GET_SHOTS } from "../graphql/query";
2024-01-08 22:14:21 -07:00
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;