diff --git a/packages/sections/src/credibleSet/Variants/Body.tsx b/packages/sections/src/credibleSet/Variants/Body.tsx index 23d1e4e45..f74f3f8bd 100644 --- a/packages/sections/src/credibleSet/Variants/Body.tsx +++ b/packages/sections/src/credibleSet/Variants/Body.tsx @@ -152,7 +152,6 @@ function Body({ }: BodyProps) { const variables = { studyLocusId: studyLocusId, - variantIds: [leadVariantId], }; const request = useQuery(VARIANTS_QUERY, { diff --git a/packages/sections/src/credibleSet/Variants/VariantsQuery.gql b/packages/sections/src/credibleSet/Variants/VariantsQuery.gql index 640919df5..e1c7a155c 100644 --- a/packages/sections/src/credibleSet/Variants/VariantsQuery.gql +++ b/packages/sections/src/credibleSet/Variants/VariantsQuery.gql @@ -1,7 +1,7 @@ -query VariantsQuery($studyLocusId: String!, $variantIds: [String!]!) { +query VariantsQuery($studyLocusId: String!) { credibleSet(studyLocusId: $studyLocusId) { studyLocusId - locus(variantIds: $variantIds) { + locus { count rows { logBF