diff --git a/website/src/components/views/analyzeSingleVariant/CollectionsList.tsx b/website/src/components/views/analyzeSingleVariant/CollectionsList.tsx index 20b67ff3..554b916b 100644 --- a/website/src/components/views/analyzeSingleVariant/CollectionsList.tsx +++ b/website/src/components/views/analyzeSingleVariant/CollectionsList.tsx @@ -90,10 +90,10 @@ type CollectionVariantListProps = { const querySchema = z.object({ pangoLineage: z.string().optional(), nextcladePangoLineage: z.string().optional(), - nucMutations: z.array(z.string()), - aaMutations: z.array(z.string()), - nucInsertions: z.array(z.string()), - aaInsertions: z.array(z.string()), + nucMutations: z.array(z.string()).optional(), + aaMutations: z.array(z.string()).optional(), + nucInsertions: z.array(z.string()).optional(), + aaInsertions: z.array(z.string()).optional(), variantQuery: z.string().optional(), });