Skip to content

Commit

Permalink
fix(website): don't crash when a collection variant doesn't have muta…
Browse files Browse the repository at this point in the history
…tions (#439)

resolves #436
  • Loading branch information
fengelniederhammer authored Dec 20, 2024
1 parent 8373c73 commit 8807980
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
});

Expand Down

0 comments on commit 8807980

Please sign in to comment.