From 17067f395bdacd14f3ca9a42e02a64c75d59a327 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Fri, 10 May 2024 12:45:57 +0100 Subject: [PATCH] fix(website): don't add 1 to indexes in substitution badges (#1849) --- website/src/components/SequenceDetailsPage/MutationBadge.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/SequenceDetailsPage/MutationBadge.tsx b/website/src/components/SequenceDetailsPage/MutationBadge.tsx index ba2b3e2d80..562997af05 100644 --- a/website/src/components/SequenceDetailsPage/MutationBadge.tsx +++ b/website/src/components/SequenceDetailsPage/MutationBadge.tsx @@ -30,7 +30,7 @@ export const SubBadge: FC = ({ position, mutationTo, mutationFrom, seq )} - {position + 1} + {position} {mutationTo}